Im trying to get all the gpo's linked to an ou for example:
$test = Get-GPInheritance -target "ou=blabla,dc=bla,dc=local" | Select-Object gpolinks
Then when i print out $test i get this
GpoLinks
`--------
{gpo1, gpo2, gpo3}
What i really would like is to strip out the title with the "--" and get a nice list of the gpo's alone. how can it be done? Thanks!