Hi,
I've got this script that tells me if a value exits in groups.name now I want it to tell me when it doesn't exist.
ForEach($asset in $currentFlexAssets.data.attributes.name)
{
ForEach($group in $groups.Name)
{
If ($asset -match $group)
{
Write-Host "Keep = " $asset
}
}
}
Is there something like If ($asset -match $group.name) ??