Monthly Archives: August 2016

How to customize password generation

You can use standard random function call [Reflection.Assembly]::LoadWithPartialName(“System.Web”) [System.Web.Security.Membership]::GeneratePassword(8,2) # (lengh,complexity) In that case, you get simple but unpredictable range of symbols which can conflict with your password policy. Or you can customise it using specific logic. For example, you need at least 1 symbol … Continue reading

Posted in PowerShell | Leave a comment