No Image

Get Password Policye for all domains in a forest.

December 21, 2020 0

Get Password Policy for all domains in a forest..   (Get-ADForest).domains | %{​Get-ADDefaultDomainPasswordPolicy -Identity $_ }​ | Select-Object * | Export-Csv -Path C:\Reports\DefaultPasswordPolicy-All.csv -NoTypeInformation Having […]

No Image

KMS activation

June 9, 2020 0

How do I manually connect my Windows or Windows Server device to the KMS activation server? Right Click on the Start menu and select Command Prompt (Admin) Run […]

Backup GPOs basing on GPO DisplayName

May 21, 2020 0

$invalidChars = ‘:\\/’ + [RegEx]::Escape(-join [IO.Path]::InvalidPathChars) $backupDir = ‘C:\temp\backup’ Get-GPO -All -Domain <DOmain Name>| ForEach-Object { $name = $_.DisplayName -replace “[$invalidChars]”, ‘_’ $gpoDir = Join-Path […]

Activate Windows with KMS server

May 5, 2020 0

Activate Windows with KMS Server Step 1: KMS Client Setup Key Before activating your Microsoft product (Windows or Office) on the KMS server, you must change […]