Adding name servers to multiple DNS zones with PowerShell
Add multiple DNS servers as name servers to multiple DNS zones all in once. So this is essentially adding NS resource records to a zone, […]
Add multiple DNS servers as name servers to multiple DNS zones all in once. So this is essentially adding NS resource records to a zone, […]
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 […]
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 […]
$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 Step 1: KMS Client Setup Key Before activating your Microsoft product (Windows or Office) on the KMS server, you must change […]
Function Name: Get-LoggedIn # ——————————————- # Function Name: Get-LoggedIn # Return the current logged-in user of a remote machine. # ——————————————- function Get-LoggedIn { […]
Function Name: Get-Uptime # ——————————————- # Function Name: Get-Uptime # Calculate and display system uptime on a local machine or remote machine. # ——————————————- function […]
Set-PowerCLIConfiguration -DefaultVIServerMode Multiple -Scope User -Confirm:$false Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Scope User -Confirm:$false #$cred = Get-Credential Domain\username Connect-VIServer VCenter-Name -Credential $cred -force & { foreach ($vCenterServer […]
Activate a Windows Operating System (All Supported Versions) Open an Elevated Command Prompt window. In the elevated Command Prompt window, verify that the current […]
Note: This script will overwrite the existing Notes, so use it at your own risk! My colleague asked me to add some notes to the […]
Copyright © 2026 | WordPress Theme by MH Themes