Exporting All Attributes
1 | Get-WSUSComputer -all |
Selective Data Export
1 | Get-WSUSComputer | Select-Object FullDomainName,IPAddress,ComputerRole |
Attributes availables
- Id
- FullDomainName
- IPAddress
- Make
- Model
- BiosInfo
- OSInfo
- OSArchitecture
- ClientVersion
- OSFamily
- OSDescription,
- ComputerRole,
- LastSyncTime,LastSyncResult
- LastReportedStatusTime
- LastReportedInventoryTime
- RequestedTargetGroupName
- ComputerTargetGroupIds
- RequestedTargetGroupNames
- ParentServerId
- SyncsFromDownstreamServer
Exporting to CSV
1 2 | $CSVfile = $PSScriptRoot + "\ComputerNewWSUS.csv" Get-WSUSComputer | Select-Object FullDomainName,IPAddress,ComputerRole | export-csv $CSVfile |
0 Comments