PowerShell

First off, read my summary of Windows PowerShell https://ianmorrish.wordpress.com/2016/07/02/the-thing-about-about-powershell/ and then do some searching on Google and you will see how pervasive it is.

There are several things to do in order to be able to use Windows PowerShell ISE efficiently.

Here are the getting started steps:

  1. If you are not using Windows 10 (Windows 7, 8.1 or server 2012/2012R2 can be used), update to the latest version of WinRM which will give you PowerShell v5 and the latest version of .Net
    https://www.microsoft.com/en-us/download/details.aspx?id=50395
  2. Enable PowerShell Scripting
    From the Start menu, run “Windows PowerShell ISE(x86)” by right clicking on the icon and select “Run as Administrator”.
  3. Run the following command
    Set-Executionpolicy RemoteSigned
    Close ISE
  4. Create a shortcut on your desktop for the 32Bit version of ISE
    Open folder C:\Windows\SysWOW64\WindowsPowerShell\v1.0
    Right click on the powershell_ise.exe file and select “Create a shortcut”
  5. Create a PowerShell Profile by running this code inside ISE
     if (!(test-path $profile)) {
     new-item -type file -path $profile -force;
     }
    

    Start ISE from your shortcut created in step 4.
    Your window should look like this
    ISEGettingStarted1

  6. Exit ISE and restart it from your shortcut created in step 4.
Advertisements