File tree 2 files changed +31
-3
lines changed
2 files changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ function New-RSRandomPassword {
32
32
Default is 3, shortest length is 1 and max length is 15.
33
33
34
34
. EXAMPLE
35
- New-RGRandomPassword
35
+ New-RSRandomPassword
36
36
# Returns a random password that are 12 characters long and contains 1 special character.
37
37
38
38
. EXAMPLE
39
- New-RGRandomPassword -Length 20 -SpecialCharacters 4
39
+ New-RSRandomPassword -Length 20 -SpecialCharacters 4
40
40
# Returns a random password that are 20 characters long and contains 4 special character.
41
41
42
42
. NOTES
Original file line number Diff line number Diff line change 1
- # GeneratePassword
1
+ # GenerateRandomPassword
2
+ ## SYNOPSIS
2
3
This module let you generate a random password where you can choose length and how many special characters you want it to include.
4
+
5
+ ## DESCRIPTION
6
+ This module generates and returns a random password that contains lower and upper letters, numbers and special characters.
7
+ It can either generate one with the default options that are 12 characters long and contains 3 special characters,
8
+ or you can decide how long the password should be and how many special characters it should contain.
9
+
10
+
11
+ ## Install
12
+ Install for current user
13
+ ````
14
+ Install-Module -Name GenerateRandomPassword -Scope CurrentUser -Force
15
+ ````
16
+
17
+ Install for all users
18
+ ````
19
+ Install-Module -Name GenerateRandomPassword -Scope AllUsers -Force
20
+ ````
21
+
22
+ ## Example
23
+ ````
24
+ New-RSRandomPassword
25
+ ````
26
+ Returns a random password that are 12 characters long and contains 1 special character.
27
+ ````
28
+ New-RSRandomPassword -Length 20 -SpecialCharacters 4
29
+ ````
30
+ Returns a random password that are 20 characters long and contains 4 special character.
You can’t perform that action at this time.
0 commit comments