diff --git a/ps-commands.md b/ps-commands.md index 4d8d76a..f3fbb9a 100644 --- a/ps-commands.md +++ b/ps-commands.md @@ -30,6 +30,14 @@ Get-WmiObject win32_product -ComputerName $ComputerName | Where-Object {$_.$Colu
+### Remotely Fetch $ComputerName's Windows Version Information + +```powershell +Invoke-Command -ComputerName $ComputerName -ScriptBlock {[System.Environment]::OSVersion.Version} +``` + +
+ ### Remotely Fetch $ComputerName's Boot Time ```powershell