Customize Script

Use AI to customize Get System Information for your specific needs

Describe Your Customization
Tell the AI how you want to modify the script. Be specific about your requirements.
Original Script
Reference the original script while customizing
PowerShell
1$computerInfo = Get-ComputerInfo
2$os = Get-CimInstance Win32_OperatingSystem
3
4[PSCustomObject]@{
5 ComputerName = $env:COMPUTERNAME
6 OS = $os.Caption
7 Version = $os.Version
8 Architecture = $os.OSArchitecture
9 LastBoot = $os.LastBootUpTime
10 Uptime = (Get-Date) - $os.LastBootUpTime
11 TotalRAM = [math]::Round($computerInfo.CsTotalPhysicalMemory / 1GB, 2)
12 Processor = $computerInfo.CsProcessors.Name
13}
Customized Script
Your customized script will appear here

Describe your customization and click "Customize" to generate

Customization Tips
  • Be specific about file paths, server names, or other variables
  • Mention any error handling or logging requirements
  • Specify output format preferences (CSV, JSON, etc.)
  • Include any scheduling or automation requirements
Customize: Get System Information - PowerShell Hub