Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Import-Module activedirectory
- Get-ADComputer -Filter {OperatingSystem -like "Windows XP"} -Property * |
- Select-Object Name,OperatingSystem,OperatingSystemServicePack,OperatingSystemVersion |
- Export-CSV AllWindows.csv -NoTypeInformation -Encoding UTF8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement