Added make/model & serial # commands

main
capntack 2 years ago
parent d9afee123f
commit fd0c66c0d5

@ -50,4 +50,18 @@ Get-ADPrincipalGroupMembership (Get-ADComputer $ComputerName) | select-object na
Get-ADPrincipalGroupMembership (Get-ADUser $Username) | select-object name Get-ADPrincipalGroupMembership (Get-ADUser $Username) | select-object name
``` ```
<br> <br>
### Fetch $ComputerName's Make & Model
```powershell
Get-CimInstance -ComputerName $ComputerName -ClassName Win32_ComputerSystem | Select-Object -Property Manufacturer, Model
```
<br>
### Fetch $ComputerName's Serial Number
```powershell
Get-CimInstance -ComputerName $ComputerName -ClassName Win32_bios | Select-Object -Property SerialNumber
```
Loading…
Cancel
Save