GeezerVison is showing github.com — [Feature] Get module name right · PowerShell/PowerShell@70c01d0
File tree
Expand file treeCollapse file tree
Open diff view settings
powershell/Modules/Microsoft.PowerShell.Security tools/Modules/WebListener
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: test/powershell/Modules/Microsoft.PowerShell.Security/certificateCommon.psm1 +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -84,7 +84,7 @@ Function New-ProtectedCertificate |
84 | 84 | $rand = [Random]::new() |
85 | 85 | $global:protectedCertPassword = ConvertTo-SecureString -Force -AsPlainText (((1..10).ForEach{ '{0:x}' -f $rand.Next(0xf) }) -join '') |
86 | 86 |
|
87 | | - $null = SelfSignedModule\New-SelfSignedCertificate ` |
| 87 | + $null = SelfSignedCertificate\New-SelfSignedCertificate ` |
88 | 88 | -CommonName 'localhost' ` |
89 | 89 | -OutCertPath $certLocation ` |
90 | 90 | -Passphrase $global:protectedCertPassword ` |
|
Collapse file
Copy file name to clipboardExpand all lines: test/tools/Modules/WebListener/WebListener.psm1 +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -58,7 +58,7 @@ function New-ClientCertificate |
58 | 58 | Force = $true |
59 | 59 | } + $distinguishedName |
60 | 60 |
|
61 | | - SelfSignedModule\New-SelfSignedCertificate @certificateParameters |
| 61 | + SelfSignedCertificate\New-SelfSignedCertificate @certificateParameters |
62 | 62 | } |
63 | 63 |
|
64 | 64 | function New-ServerCertificate |
@@ -86,7 +86,7 @@ function New-ServerCertificate |
86 | 86 | Force = $true |
87 | 87 | } + $distinguishedName |
88 | 88 |
|
89 | | - SelfSignedModule\New-SelfSignedCertificate @certificateParameters |
| 89 | + SelfSignedCertificate\New-SelfSignedCertificate @certificateParameters |
90 | 90 | } |
91 | 91 |
|
92 | 92 | function Get-WebListener |
|