We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73c4ff2 commit 469b4f6Copy full SHA for 469b4f6
Scripts/Sign.ps1
@@ -1,6 +1,6 @@
1
# Sign all scripts in folder recursively by a self-signed certificate
2
$CertName = "Sophia Project"
3
-$FolderPath = "$PSSCriptRoot\Sophia Script"
+$FolderPath = "Sophia Script"
4
$ExtensionsToSearchIn = @(".ps1", ".psm1", ".psd1")
5
# Get-ChildItem -Path Cert:\LocalMachine\My, Cert:\CurrentUser\My | Where-Object -FilterScript {$_.Subject -eq "CN=$CertName"} | Remove-Item
6
0 commit comments