Self-Certificate AutoScript PowerShell ISE Addon

Rating: No reviews yet
Downloads: 1535
Released: Nov 11, 2014
Updated: Nov 12, 2014 by freistli
Dev status: Stable Help Icon

Recommended Download

Source Code Self-Certificate AutoScript PowerShell ISE Add On
source code, 9K, uploaded Nov 11, 2014 - 1535 downloads

Release Notes

Self-Signed Certificate can be used widely in test, development, Local Web or Cloud Web Sites. This Add-On will introduce a method to quickly generate Self-Signed Certificate, automatically export private key, and install the cert under LocalMachine\My and LocalMachine\Root on Win8.1 and Win2012.

1. Download the code, save it to your script folder, such as F:Powershell\autoload
2. Open Powershell ISE
3. Run "psedit $profile" to open Microsoft.PowerShellISEprofile.ps1

if (!(test-path $profile )) 
{new-item -type file -path $profile -force} 
psedit $profile
Set-ExecutionPolicy RemoteSigned

4. Append below short script into the Microsoft.PowerShellISEprofile.ps1, this can auto load scripts from a source folder when ISE starts:

Set-ExecutionPolicy bypass -Scope CurrentUser
 Get-ChildItem "${autodir}\*.ps1" | ForEach-Object {.$_} 
 $output = "Scripts in " + $autodir  + " loaded"
 Write-Host $output

5. Restart ISE. You will see the new submenu Self-Cert AutoScript when click Add-Ons.
6. Run it with Admin permission, a friendly UI wizard will help you generate code automatically.

After certificate is generated and installed,PowerShell will output:

In Certificate Manager Console, we can see:

For the exported .pfx file,can be used with Local Web Service Or Microsoft Azure:

Reviews for this release

No reviews yet for this release.