This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Active Directory command in Quest Powershell?

Hello,

Does anybody have the corresponding command for Quest?

Get-ADComputer -Filter {servicePrincipalName -notlike "msclustervirtualserver*" }

Thanks,

Dom

Parents
  • I'm not sure if this makes a difference re the error but I think your "WHERE" needs to look like this:

    where {($_.servicePrincipalName -notlike "msclustervirtualserver*") -and
    ($_.operatingSystem -like "Windows Server*")}

    i.e. added the parentheses around each logical test
Reply
  • I'm not sure if this makes a difference re the error but I think your "WHERE" needs to look like this:

    where {($_.servicePrincipalName -notlike "msclustervirtualserver*") -and
    ($_.operatingSystem -like "Windows Server*")}

    i.e. added the parentheses around each logical test
Children
No Data