Difference between revisions of "Useful PowerShell Commands"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
Get-Computerinfo -Properties csusername | Get-Computerinfo -Properties csusername | ||
Get-Computerinfo -Properties csusername | Get-Member | Get-Computerinfo -Properties csusername | Get-Member | ||
Get-ComputerInfo | Format-List OsType,osName,csusername | |||
Rename-Computer | Rename-Computer |
Revision as of 19:20, 17 October 2024
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
Rename-Computer Restart-Computer Get-Date Get-TimeZone