Hello,
I tried this
[PS] C:\source>Get-QADGroupMember 'Friday 1AM' | Foreach-Object { Write-Host $_.Name: (Get-QADComputer $_.DN) -includedp
roperties ou}| where {$_.ou = "ou=Disabled,ou=MITS Managed Servers,dc=ad,dc=medctr,dc=ucla,dc=edu"} | Select-Object Name
, MemberOf
1. It is giving me the member of the Group "Friday 1AM" but it is not limited to the "Disabled OU"...
2. As I have several groups
Friday 1M
Friday 2AM
Tuesday 9PM
etc...
where I would like to verify if the machine are in the "Disabled" OU How to implement this?
?
Thanks,
Dom