0%

0/1 Lessons

Course Introduction

• 5min

0 / 2 lessons complete

Getting Started with Windows PowerShell

• 56min

0 / 8 lessons complete

Getting Help and Finding Commands

• 39min

0 / 6 lessons complete

PowerShell Command Syntax

• 33min

0 / 5 lessons complete

PowerShell Objects and Properties

• 35min

0 / 6 lessons complete

The PowerShell Pipeline

• 24min

0 / 2 lessons complete

PowerShell Providers

• 30min

0 / 5 lessons complete

PowerShell Arrays and Variables

• 28min

0 / 4 lessons complete

PowerShell Loops

• 19min

0 / 3 lessons complete

PowerShell Conditional Statements

• 11min

0 / 1 lessons complete

On Premises Lab Setup

• 36min

0 / 8 lessons complete

Basic Domain Administration with Windows PowerShell

• 2hr 27min

0 / 10 lessons complete

Send Emails with PowerShell

• 22min

0 / 2 lessons complete

PowerShell Desired State Configuration (DSC) Basics

• 1hr 48min

0 / 6 lessons complete

PowerShell Modules

• 58min

0 / 7 lessons complete

Powershell Challenges

• 1hr 55min

0 / 23 lessons complete

Course Conclusion

• 1min

0 / 1 lessons complete

The ISE (Intelligent Scripting Environment) Part 1

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.

Create note

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)

  1. 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.
  2. 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.

0 0 votes
Lesson Rating
Subscribe
Notify of
profile avatar
3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

profile avatar
itc(@itc)
Member
1 year ago

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

profile avatar
danieln(@danieln)
Member
1 year ago

Where can I download the pdf document called keyboard shortcuts for the ISE

profile avatar
Ricardo P(@ricardop)
Admin
Reply to  danieln
1 year ago

Hi profile avatar Daniel Nwandu

You can find the most up to date shortcuts on Microsoft’s website. Check out the following link:

https://learn.microsoft.com/en-us/powershell/scripting/windows-powershell/ise/keyboard-shortcuts-for-the-windows-powershell-ise?view=powershell-7.3

Ricardo