How do you get powershell embedded in blog
Ok,
So while I was getting back into doing actual blogs I figured I needed to insert Powershell script into my blogs. The easiest way of doing this is by using an add-on for the Windows Powershell ISE editor. In its easiest form do the following:
1. Download this following file and extract.
2. Open Powershell as an Administrator and run the following:
3. Run the setup.exe from the download.
4. Now in Powershell ISE editor, highlight all the code you want, click on Add-Ons at the top menu, then click Copy as HTML. Now simply paste as HTML into your blog!
Enjoy.
Martin
So while I was getting back into doing actual blogs I figured I needed to insert Powershell script into my blogs. The easiest way of doing this is by using an add-on for the Windows Powershell ISE editor. In its easiest form do the following:
1. Download this following file and extract.
2. Open Powershell as an Administrator and run the following:
Set-ExecutionPolicy RemoteSigned
3. Run the setup.exe from the download.
4. Now in Powershell ISE editor, highlight all the code you want, click on Add-Ons at the top menu, then click Copy as HTML. Now simply paste as HTML into your blog!
Enjoy.
Martin
Comments
Post a Comment