The ISE (Intelligent Scripting Environment) Part 1
Full-Access Members Only
Sorry, this lesson is only available to Server Academy Full-Access members. Become a Full-Access member now and get instant access to this and many more premium courses. Click the button below and get instant access now.
Instructions
Q&A (0)
Notes (0)
Resources (0)
Saving Progress...
Resources
There are no resources for this lesson.
Notes can be saved and accessed anywhere in the course. They also double as bookmarks so you can quickly review important lesson material.
In this lecture we’re going to dive in and take a close look at the awesome Intelligent Scripting Environment or the ISE
But before we do that, let me show you again how to pin the ISE to the taskbar then customize it to run as administrator. Log into your computer as administrator.
Now type PowerShell, right click on 64 bit version of Windows PowerShell ISE
Click pin to taskbar. Hold down the shift key then Right click on the PS icon in the taskbar, then click properties. Click shortcut, then click advanced now check run as administrator, click ok then click ok again.
Now let’s go ahead and click your PowerShell ISE Icon that we just created. (Should come up in administrator mode)
- Now we’re gonna take a look at the menu bar – File, edit, view, tools Debug, Add-ons and Help. We’re not going to go aver each and every option here, but we will hit the high points.
- The buttons on the tool bar allow you to run tasks related to writing and running scripts. Items on the menu bar show the default keyboard shortcuts.
I provided you a pdf document called keyboard shortcuts for the ISE. Be sure to download that as well.
File – You can save or use save as to name and choose a location for your PowerShell script. One thing I want to point out to you is that Scripts are saved with a .ps1 extension
Edit – You can cut, paste, search, find and go to specified locations in your script.
Start Snippets - (ctrl-J) Provides code that you can cut and paste to your script.
View
- Demonstrate - The next three commands shift the script pane around the desktop.
Tools/Options
Debug
Add-ons – (Commands Add-on must be turned on)
- Later, when you are more comfortable with PowerShell, come back to this page and check it out. This link provides various tools that have been created by the PowerShell Community.
- Be sure View, Show Command Add-on is checked, this will give you more help options under Add-ons.
- You can download various tools from the PowerShell gallery
Help
- You can use Windows PS ISE help
- You can use Windows PS help
- Use Show Command Windows
Toolbar:
For the most part the buttons on the toolbarare self- explanatory. If you need an explanation refer to the documentation. New script - allows you to open a new script
- Save script – Save a script
- Cut – Cntrl +X – Allows you to cut the selected text and copy to the clipboard.
- Copy – Cntrl + C - Allows you to copy the selected text and copy to the clipboard.
- Paste - Cntrl + V – Allows you to paste the contents of the clipboard at the cursor location
- Clear Console Pane – Clears the contents of the console pane
- Undo/Redo – Reverses the action just performed. Performs the action that was just undone.
Notice the error, I’ll show you how to fix that later.
- Run Selection (f8) Runs the selected portion of the script
- Stop Operation (Ctrl+Break) Stops the current script from running
- New Remote PowerShell Tab – Allows you to connect to a remote computer with the proper credentials
- Start PS console in a separate Tab – Opens the PowerShell console in a separate window
- Show Script Pane Top – Moves the script pane to the top of the screen
- Show Script Pane Right – Moves the Scripting pane to the right
- Show Script Pane Maximized – Maximizes the scripting pane
ISE has three sections for display
Server Academy Members Only
Sorry, this lesson is only available to Server Academy Full Access members. Become a Full-Access Member now and you’ll get instant access to all of our courses.
I went to the different links in the Add-ons section of the ISE and only the Script Analyzer was available the others were no longer available. might want to update training
Where can I download the pdf document called keyboard shortcuts for the ISE