From 2b2987b8d12d7b83ced8369bf6160a2cc64d8ead Mon Sep 17 00:00:00 2001 From: capntack Date: Thu, 25 Jul 2024 15:52:32 -0500 Subject: [PATCH] Added command to pull Windows install info --- ps-commands.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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