I'm using $VMNotes = Get-VM myvm | Select-Object Notes in a script to pull the contents of the Notes field. The returned data is:
@{Notes=my notes
}
How do I get it to return just the contents of the notes field, without the @{Notes= }?
I'm using $VMNotes = Get-VM myvm | Select-Object Notes in a script to pull the contents of the Notes field. The returned data is:
@{Notes=my notes
}
How do I get it to return just the contents of the notes field, without the @{Notes= }?