GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Windows-PowerShell-Scripts/Get-ADComputerSystemInfo.ps1 at main · Ryan-Adams57/Windows-PowerShell-Scripts Expand file tree/ Copy pathGet-ADComputerSystemInfo.ps1More file actions 20 lines (18 loc) · 1.07 KB / Copy pathGet-ADComputerSystemInfo.ps1File metadata and controls20 lines (18 loc) · 1.07 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 # Get-ADComputerSystemInfo.ps1 # Pulls systeminfo from all AD computers and displays in a grid # Requires AD rights and PowerShell remoting enabled on targets (Get-ADComputer -Filter *).Name | ForEach-Object { Invoke-Command -ComputerName $_ { systeminfo /FO CSV } -ErrorAction SilentlyContinue | Select-Object -Skip 1 } | ConvertFrom-Csv -Header ` "Host Name","OS","Version","Manufacturer","Configuration","Build Type",` "Registered Owner","Registered Organization","Product ID","Install Date",` "Boot Time","System Manufacturer","Model","Type","Processor","Bios",` "Windows Directory","System Directory","Boot Device","Language","Keyboard",` "Time Zone","Total Physical Memory","Available Physical Memory","Virtual Memory",` "Virtual Memory Available","Virtual Memory in Use","Page File","Domain",` "Logon Server","Hotfix","Network Card","Hyper-V" | Out-GridView -Title "AD Computer System Information" # To export to CSV after viewing in grid, use: # | Out-GridView -PassThru | Export-Csv -Path 'C:\Temp\ADComputerInfo.csv' -NoTypeInformation |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |