Artifact 73c01608a415d21ad679ee6cd90ccc260be0fa5d8449c9952074edb0b094a266:
- File New-RandomComplePassword.ps1 — part of check-in [fbbd20ea1b] at 2018-06-10 14:11:57 on branch trunk — Generates a random password of a specified length. (user: naveen size: 532)
# encoding: ascii # api: powershell # title: New-RandomComplePassword # description: Generates a random password of a specified length. # version: 0.1 # type: function # author: naveen # license: CC0 # function: New-RandomComplexPassword # x-poshcode-id: 6274 # x-archived: 2016-11-18T01:03:14 # x-published: 2016-03-31T04:00:00 # # Function New-RandomComplexPassword ($length=20) $password = [System.Web.Security.Membership]::GeneratePassword($length,2) return $password New-RandomComplexPassword