Windows PS 101 - ShivanandaNayak/Test GitHub Wiki
Windows CPU and Top 10 Users
$Server = "SERVERNAME"
(Get-WmiObject -ComputerName $Server -Class win32_processor -ErrorAction Stop | Measure-Object -Property LoadPercentage -Average | Select-Object Average).Average ; Get-Process -computername $Server | Sort CPU -descending | Select -first 10 -Property ID,ProcessName,CPU | format-table -autosize
VSS Admin Change Storage Specs
vssadmin resize shadowstorage /For=E: /On=E: /MaxSize=10%