Forum Discussion
Sudburr
Dec 22, 2021Copper Contributor
Pulling information from WSUS
I want to refine the results of this command for pulling information from our WSUS server.
Get-WSUSComputer | Select-Object FullDomainName,IPAddress,Make,Model,OSArchitecture,OSDescription,ClientVersion -ExpandProperty "BiosInfo" | Where {$_.OSDescription -like "*windows 7*"} | export-csv C:\temp\win7.csv
The -ExpandProperty "BiosInfo" creates the following columns:
Version
Name
ReleaseDate
FirmwareVersion
MobileOperator
I want to see only the 'Version'. I can live with the results of the command I'm using, but I'm hoping I can trim the output so I don't have to manually edit the resulting .csv .
- harveer singhSteel Contributor
- SudburrCopper Contributor
harveer singh No good HS. It creates an empty file / no output.