Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Invoke-command -ComputerName <YOURWSUSSERVER> {
- Import-Module WebAdministration
- get-website | Where-Object { $_.name -eq "WSUS Administration" } | select name ,id , state, physicalpath ,
- @{n = "Bindings"; e = { ($_.bindings | select -expa collection ) -join ‘;’ }} ,
- @{n = "LogFile";e = { $_.logfile | select -expa directory }} ,
- @{n = "attributes"; e = {($_.attributes | % { $_.name + "=" + $_.value }) -join ‘;’ }}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement