Powershell – exporting multivalued properties (Draft)


This one is just for me to remember; more explanations later on

get-service | `
select name,@{Name=‘ServicesDependedOn’;Expression={[string]::join(“;”,($_.ServicesDEpendedOn.name))}} | export-csv $env:userprofiledesktoptestExport.csv


Comments (1)

  1. Meagain says:

    Thanks

Skip to main content