GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Windows-PowerShell-Scripts/Get-ADComputerSystemInfo.ps1 at main · Ryan-Adams57/Windows-PowerShell-Scripts

Expand file tree

/

Get-ADComputerSystemInfo.ps1

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
20 lines (18 loc) · 1.07 KB
/

Get-ADComputerSystemInfo.ps1

Copy path

File metadata and controls

20 lines (18 loc) · 1.07 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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.