Handy Commands
hostname
systeminfo
Scan for and replace corrupt windows files
sfc /scannow
Find Serial Number
wmic bios get serialnumber
Reset PC and Get New SID
C:\Windows\System32\Sysprep\sysprep.exe /generalize /oobe /reboot
Get Windows Key
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
Along with sfc /scannow you can use these commands to help repair windows
Open cmd/powershell as admin
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
Once you complete the steps, the tool will connect to Windows Update online to download and replace damaged files (as necessary).
Don't connect to network
When prompted to connect "Shift + F10" to open cmd prompt
"oobe\bypassnro" to bypass account requirement
You will need
Hyper-V
Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All
The name of the network interface you are using
Get-NetAdapter
A vSwitch
New-VMSwitch "vSwitchName" -NetAdapterName "your network interface"
Create new vAdapter visible in Windows Host
Add-VMNetworkAdapter -ManagementOS -Name VLAN10 -StaticMacAddress "11-11-AA-BB-CC-DD" -SwitchName vSwitchName
Set vAdapter VLAN
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName VLAN10 -Access -VlanId 10
Repeat 1 & 2 for each VLAN you want to pass