diff --git a/ps-commands.md b/ps-commands.md index aff2bd2..612e1e7 100644 --- a/ps-commands.md +++ b/ps-commands.md @@ -50,4 +50,18 @@ Get-ADPrincipalGroupMembership (Get-ADComputer $ComputerName) | select-object na Get-ADPrincipalGroupMembership (Get-ADUser $Username) | select-object name ``` -
\ No newline at end of file +
+ +### Fetch $ComputerName's Make & Model + +```powershell +Get-CimInstance -ComputerName $ComputerName -ClassName Win32_ComputerSystem | Select-Object -Property Manufacturer, Model +``` + +
+ +### Fetch $ComputerName's Serial Number + +```powershell +Get-CimInstance -ComputerName $ComputerName -ClassName Win32_bios | Select-Object -Property SerialNumber +``` \ No newline at end of file