== windows setup - oobe
=== check hardware info
Get-CimInstance -ClassName Win32_BIOS | Format-List
Get-CimInstance -ClassName Win32_Processor | Format-List
Get-Ciminstance -ClassName "cim_physicalmemory" | % { ($_.BankLabel)+" : "+($_.Capacity/1gb)+"GB" }
Get-CimInstance Win32_LogicalDisk | where{$_.DriveType -eq '3'} `
| Select DeviceID, DriveType,VolumeName,
@{N='TotalSize(GB)';E={[Math]::Ceiling($_.Size/1GB)}}, @{N='FreeSize(GB)';E={[Math]::Ceiling($_.FreeSpace/1GB)}} |
ft -AutoSize
#
=== uninstall vendor bloatware, antivirus, office, etc
start appwiz.cpl
=== rename computer, join domain
SystemPropertiesComputerName.exe
start sysdm.cpl
# Rename-Computer -NewName "usernameYYYY"
# Rename-Computer -NewName "newname" -DomainCredential mydomain\administrator -Restart
add domain user to local administrator
control userpasswords2
reboot
shutdown /r /t 0
restart-computer
=== connect to server & printers
* map network drive
* connect printers
batch file to connect server
net use n: /delete
net use /persistent:yes
net use N: \\server\share password /user:domain\username /savecred
=== enable System Protection
SystemPropertiesProtection.exe
==== regional
=== multi-monitor users - set left right position
start desk.cpl
=== keep the model and serial number
* register warranty after 7 days
* take photo to my TG group