Can logical AND be used in a Get-ADComputer statement?
I can get all the computer names and IP addresses with the following after I Import-Module ActiveDirectory with the following code I found elsewhere during a search:
`Get-ADComputer -Filter (OperatingSystem Like “Windows 7*” | Format-Table IPv4Address, Name -Wrap -Auto`
Is there a way to include logical AND in the statement so that I get the Windows 7 computers along with CanonicalName includes the string ABCD? Let’s say some of the Computers are at site ABCD and some are at site EFGH. I only want to pull the ABCD site computers that are Windows 7.