# WizardKit: Disable Password Expiration (Local Accounts) #Requires -Version 3.0 if (Test-Path Env:\DEBUG) { Set-PSDebug -Trace 1 } $Host.UI.RawUI.WindowTitle = "Disable Password Expiration" $Host.UI.RawUI.BackgroundColor = "black" $Host.UI.RawUI.ForegroundColor = "white" $ProgressPreference = "SilentlyContinue" # Main Get-LocalUser | Set-LocalUser -PasswordNeverExpires $true