Windows Client

Entries feed

Thursday, August 22 2019

Rename computer to service tag

$GetManufactureStats = (Get-WmiObject Win32_ComputerSystemProduct | Select-Object -Property Vendor, Name, IdentifyingNumber, UUID) $GetCompName = (Get-WmiObject Win32_ComputerSystem | Select-Object -Property DNSHostName, Manufacturer, Model, SystemType, TotalPhysicalMemory, UserName) $STag =  […]

Continue reading

Friday, August 16 2019

Format USB and Copy data

##### # # This will automatically format all Removable devices connected to the local computer. # ##### # # Use the following command to identify the types of drivives connected to the computer. # Get-WmiObject win32_LogicalDisk | select DriveType,DeviceID | ForEach-Object { Write-Host $_.DriveType  […]

Continue reading