I appreciate some assistance extracting a list of VMs that contain a particular string in the notes.
The string I am looking for is: "Created by: Unix Admin Name"
Help is appreciated.
You mean something like this?
Get-VM | where{$_.Notes -match 'Created by: <Unix Admin Name>'} |
Select Name
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
You mean something like this?
Get-VM | where{$_.Notes -match 'Created by: <Unix Admin Name>'} |
Select Name
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I had to use: Get-VM | where{$_.Notes -match 'Created by: Unix Admin Name' } | Select Name, but the pointer in the right direction was what I needed. Thanks Luc.