Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- msinfo32 /nfo syssum.nfo /categories +systemsummary
- // wmic /node:"ComputerNameORIpAddress" /user:"domain\username" /password:"password" ComputerSystem Get Model, Manufacturer
- http://net-informations.com/q/mis/wmic.html
- https://4sysops.com/archives/msinfo32-wmic-remotely-read-system-information-with-wmi/
- wmic /output:test1.txt computersystem get /all /format:csv
- Get-CimInstance Win32_OperatingSystem | Export-Csv test2.txt
- https://msdn.microsoft.com/en-us/powershell/scripting/getting-started/cookbooks/collecting-information-about-computers
- https://technet.microsoft.com/en-us/library/ee176825.aspx
- https://gallery.technet.microsoft.com/scriptcenter/PowerShell-System-571521d1
- function Get-SystemInfo
- {
- param($ComputerName = $env:ComputerName)
- $header = 'Hostname','OSName','OSVersion','OSManufacturer','OSConfig','Buildtype', 'RegisteredOwner','RegisteredOrganization','ProductID','InstallDate', 'StartTime','Manufacturer','Model','Type','Processor','BIOSVersion', 'WindowsFolder' ,'SystemFolder','StartDevice','Culture', 'UICulture', 'TimeZone','PhysicalMemory', 'AvailablePhysicalMemory' , 'MaxVirtualMemory', 'AvailableVirtualMemory','UsedVirtualMemory','PagingFile','Domain' ,'LogonServer','Hotfix','NetworkAdapter'
- systeminfo.exe /FO CSV /S $ComputerName |
- Select-Object -Skip 1 |
- ConvertFrom-CSV -Header $header
- }
- Get-SystemInfo | Export-Csv test3.txt
- Get-Process | Export-Csv test4.txt
Add Comment
Please, Sign In to add comment