Open rkyttle opened 7 years ago
Adding previous comments from Keith
@{
ComputersToExempt = @('server1','server2')
ItemsToExempt = @('AntiMalware')
ComputerItemPairsToExempt = @{
'server3' = @('DNSServer')
'server4' = @('DNSServer','NumLogons')
}
}
Then we can use Get-PowerShellDataFile
or whatever it's called, and do a few -notin $Data.ComputersToExempt
type commands
I had already created a solution for the tactical version, here is an example command
Here is an example of an exceptions file: