qwinsta /server: dism /online /Disable-Feature /FeatureName:WindowsMediaPlayer /norestart Disable-WindowsOptionalFeature -Online -FeatureName WindowsMediaPlayer nslookup -type=all _ldap._tcp.dc._msdcs.joos.int net stop NETLOGON && net start NETLOGON nslookup -type=all _ldap._tcp.dc._msdcs.joos.int Add-DnsServerClientSubnet -Name "UnsecureSubnet" -IPv4Subnet 255.255.255.0/24 -PassThru Add-DnsServerQueryResolutionPolicy -Name "Block_ERP01" -Action IGNORE -ClientSubnet "EQ,DWPSubnet"-FQDN "EQ,erp01.joos.int" -PassThru Get-DnsServerQueryResolutionPolicy Remove-DnsServerQueryResolutionPolicy -Name "Block_ERP01" -PassThru Dism /Online /Set-Edition:ServerDatacenter /AcceptEula /ProductKey: slmgr.vbs /dlv dism /online /Get-TargetEditions dism/ online /Get-CurrentEdition Get-BPAModel | Invoke-BpaModel Invoke-BPAmodel -modelId Microsoft/Windows/DNServer,Microsoft/Windows/FileServices Get-BPAmodel | Invoke-BPAmodel Get-BpaResult -ModelId Microsoft/Windows/DirectoryServices | Where-Object Severity -eq "Error" | Format-List Title Get-BPAResult Microsoft/Windows/DNS Server,Microsoft/Windows/FileServices Get-BPAResult | convertTo-Html | Set-Content Get-BPAResult Microsoft/Windows/FileServices | convertTo-Html | Set-ContentC:\BPAResults\FileServices.htm Get-BPAResult Microsoft/Windows/FileServices | Export-CSVC:\BPAResults\FileServices.txt diskpart list disk select disk clean convert gpt convert mbr Get-Disk | select FriendlyName, PartitionStyle Initialize-Disk -PartitionStyle GPT Get-Disk 1 | Clear-Disk -RemoveData New-Partition -DiskNumber 1 -UseMaximumSize -IsActive -DriveLetter Z | Format-Volume -FileSystem NTFS -NewFileSystemLabel Data Rename-Computer -Name Add-Computer -DomainName Restart-Computer