Hi, I use powershell where-object regularlt with strings but today, I came across a need to use this clause with a property of a type ciminstance but really confused as I have very little experience working with CIMinstances
Get-DnsServerResourceRecord -ZoneName mydomain.net -ComputerName myDC1 -RRType A | gm
Backups A 1 0 01:00:00 192.168.1.21
BTS2K13 A 1 8/10/2014 1:00:00 PM 00:20:00 192.168.1.36
Where-Object $_.RecordData -Like "*192.168.1*" and Where-Object RecordData -Like "*192.168.1*"
nothing comes back, so how we can query and use this ip property? I tried doint a GM and get the following for the this property