< Back

Get-ComplexPassword

Sat Jan 18, 2020 6:38 pm

NAME Get-ComplexPassword



SYNOPSIS

This commandlet is used to randomly generate passwords.





SYNTAX

Get-ComplexPassword [[-Count] <Int32>] [[-Length] <Int32>] [[-Randomize] <Boolean>] [[-SpecChars] <Boolean>]

[<CommonParameters>]





DESCRIPTION

This commandlet is used to randomly generate passwords.



Randomly generates passwords of a given length (default/minimum 8 characters)





PARAMETERS

-Count <Int32>

The number of passwords to generate



Required? false

Position? 1

Default value 1

Accept pipeline input? false

Accept wildcard characters? false



-Length <Int32>

The character length of the passwords to be generated (minimum 8)



Required? false

Position? 2

Default value 15

Accept pipeline input? false

Accept wildcard characters? false



-Randomize <Boolean>

Randomize the order of the password characters

by default the format is UC Letter, LC Letters, Numbers



Required? false

Position? 3

Default value True

Accept pipeline input? false

Accept wildcard characters? false



-SpecChars <Boolean>

Adds in special character from the following ()~!@&*-+=\\{}#$%[]?/



Required? false

Position? 4

Default value True

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-ComplexPassword



j}8?b4iet7E]CXa~!f6H



Randomly generates 1 password at the default length of 15 characters with special characters, randomized









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-ComplexPassword -Count 5 -Length 15 -Randomize



0?jM{sc9DL4bXtw]6i

tI=o&Tjdn10-r7Ev8G

Jl\\h2p4TYn9V7iar?!

v3KnTWOt4+h-cau8{7

pULuc]J3Mz5n&)27wt



Randomly generates 5 passwords each with a length of 15 characters, with special characters & randomizes it











RELATED LINKS

http://www.f-e-a-r.co.uk