Useful PowerShell Commands

From rbachwiki
Revision as of 19:59, 17 October 2024 by Bacchas (talk | contribs)
Jump to navigation Jump to search
Get-ComputerInfo

Accessing the properties of a command

Get-Computerinfo -Properties csusername
Get-Computerinfo -Properties csusername | Get-Member
Get-ComputerInfo | Format-List OsType,osName,csusername

Write output to the screen, like Echo

Write-Output "Hello World" 
Rename-Computer
Restart-Computer
Get-Date
Get-TimeZone

Update Windows From PowerShell

Home - Category