$ReportFile="$($Env:TEMP)\Computer-Inventory-Report.txt";;Get-Date > $ReportFile;$Env:COMPUTERNAME > $ReportFile;Get-ComputerInfo >> $ReportFile;Get-Volume >> $ReportFile;Get-PhysicalDisk >> $ReportFile;Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize >> $ReportFile;;gc $ReportFile | clip;notepad $ReportFile