Skip to main content
Sign In
San Diego Computer & Network Consulting Experts 
Go Search
 
Home
Our Microsoft Expertise
Our Services
Microsoft Solutions Blog
About Gilham Consulting
Contact Us
Support Portal
  

 

z
Home > Gilham Consulting Microsoft Notepad > Categories
Advanced Windows Powershell Scripting TechNet Webcast

 

In this session we will look at some of the powerful scripting capabilities of Windows PowerShell. First, we will introduce some of the basics of Windows PowerShell. We will examine how the help system works and review the Windows PowerShell command structure. We will also discuss how to format output and some basic Windows PowerShell commands. Next, we will explore variable declaration and scripting constructs in Windows PowerShell to perform basic programmatic functions, like loops and branching. Then we will look at advanced scripting techniques involving functions, filters, script blocks, and error handling. We will also look briefly at how to use Windows PowerShell with WMI to gain access to a wide variety of system objects and settings. Finally, we will look at how to use the .NET Framework to build a simple form using Windows PowerShell.

Session Agenda
  • Scripting and advanced scripting
  • Using Windows PowerShell with Windows Management Instrumentation (WMI)
  • Using Windows PowerShell with .NET Framework and COM objects
  • Converting Microsoft Visual Basic to Windows PowerShell Scripts

View the Webcast

image

The TechNet Australia Blog : Advanced Windows Powershell Scripting TechNet Webcast

PowerShell Plus Script Editor and Development Environment (IDE) - Free for Non-Commercial Use

PowerShell+ is a true PowerShell console embedded in a rich and intuitive user interface.  Costs about $79 for commercial use and worth every penny.

Features:

Editing

  • External Editor
  • Support for PS1-Scripts
  • Support for XML-Files
  • Integrated Debugger
  • Live-Preview with Vista Aero
  • Multiple Document

Interactive

  • True Console with 100% Compatibility
  • Runs all native apps
  • Auto-trigger and Intellisense-like Menus
  • Insert Snippets
  • Command History Persistance and Macros
  • Transparency
  • Minimode and Menu-Hide-Mode
  • Changing Fonts, Colors, and Font Sizes
  • Adding new Fonts

Completion

  • PowerTAB included
  • Intellisense-like Menus
  • Code-completion inside editor
  • Completion for Cmdlet Parameters
  • Completion for Methods and Properties
  • Completion for .NET types
  • Completion for COM objects

 

Videos:
PowerShell+ Tour of Debug NEW watch (7:38) | download (WMV, 11MB, right-click to download)

  • PowerShell+ General Overview watch (3:50) | download (WMV, 11MB, right-click to download)

     

    Screenshots:

    1) PowerShell Plus console with GUI code completion in MiniMode.

    pspscreen1

    2) PowerShell Plus Full Console with Variables, Properties and Help Center visible while inserting a snippet directly into the console.

    pspscreen2

    3) PowerShell Plus editor window showing our save pipeline object code completion.

    pspscreen3

    4) Editor showing some debugging, the variable inspector and console preview, as well as code completion of the file system with file icons.

    pspscreen4

  • Read more @> Shell Tools @ PowerShell.com

    Windows PowerShell 2.0: The CTP v2 Available for Download

    Announcing the release of Windows PowerShell 2.0 CTP (pre-Beta). Do not install on a production system.

    The Windows PowerShell Team is pleased to release the second Community Technology Preview (CTP2) of Windows PowerShell V2!

    This release adds a plethora of new features. PowerShell remoting now allows a one-to-one interactive experience. Thought about partitioning and organizing PowerShell scripts? Use modules to create self-contained and reusable units. This release introduces transactions support in PowerShell engine and APIs along with an update to the Registry provider to support them. We introduced eventing support in Powershell engine for listening, forwarding and acting on management and system events. Support for multiple parameter sets in script cmdlets bring them to par with C# cmdlets. For the adventurous folks.... application developers can host PowerShell in IIS to support multiple remote PowerShell sessions in a single process. These are just a few of the new features we have packaged in this CTP2 release. Additionally this CTP2 includes some simple updates... like new parameters to several existing cmdlets. More feature descriptions and details are in the Release Notes and in the “about” topics included with the installation.

    Reminder to the brave souls who want to use these bits in a production environment ... Don’t.

    This CTP is not a beta. This software is a pre-release version. It will not work the way a final version of the software does. These CTP2 bits have not gone through rigorous testing. Even with these caveats, we hope you would try them out and let us know your feedback.

    Last but certainly not least, V2 builds upon Windows PowerShell 1.0 by providing backward compatibility – your 1.0 cmdlets and scripts will run on this CTP2 (with the exceptions noted in the Release Notes - mostly new keywords/cmdlets). If a working 1.0 script doesn’t run on V2 and is not in the known list of exceptions, please tell us about it!

    Features in PS 2.0:

    Ø Compatibility with PowerShell 1.0

    Ø PowerShell Remoting

    Ø Background Jobs

    Ø ScriptCmdlets

    Ø Data-only Language

    Ø Script Internationalization

    Ø Script Debugging

    Ø New APIs for extracting Metadata from Commands and Parameters

    Ø New Parser Tokenizer API

    Ø New PowerShell Hosting APIs

    Ø Pools of Runspace

    Ø Restricted Runspaces

    Ø Graphical PowerShell

    Ø Out-GridView cmdlet

     

    Improvements in PS 2.0:

    Ø Changes to TabExpansion function

    Ø New parameters added to Select-String

    Ø Updated Type Adapters

    Ø Improvements to Get-Member

    Ø Improved ADSI support

    Ø New parameters added to Get-WMIObject

    Ø Improved Bitwise Operators (int64)

     

    Download Windows PowerShell V2 CTP2

    PowerGUI: Manage Microsoft PowerShell Scripts in a GUI (System, Exchange 2007, Systems Center, AD)

    PowerGUI great free took graphically run, edit, and manipulate windows and network objects using the power of PowerShell.

     image
    View the Screen Introduction to PowerGUI

    What can PowerGUI do?

    Pretty much anything that the underlying system permits. You can browse through the system, filter/sort what you get, select the columns, perform actions on selected objects, change their properties, export data to clipboard, Excel, xml, or just html reports, and much more. And if you don't believe this is all being done by Windows PowerShell just switch to another tab and you'll see the PowerShell code behind what you've been doing.

    Check out PowerGUI extensions library for the additional features you can download from the community. It allows you to extend the scripts in PowerGUI with Exchange 2007, Windows Server, Active Directory, Internet Operations, System Center Operations Manager (MOM), Network Services Configuration, SQL

    It also includes a very fast GUI Powershell Script Editor that provides Syntax highlight, Intellisense, search/replace, tab regions, and the ability to export, run, print, etc.

    powergui-script-editor

    More Info:

    PowerGUI Download
    Documentation and Videos
    PowerGUI FAQ
    PowerGUI Blog
    PowerGUI Feature Roadmap
    PowerGUI Extensions (Addons)

     Subscribe and Bookmark

     About John

    John Gilham is the veteran Microsoft solutions consultant located in San Diego, CA.

    Gilham Consulting customer's utilize his small firm for Microsoft technology integration including:

    • IT infrastructure design (Hyper-V, AD, DNS, automated platform deployments)
    • Microsoft security solutions (PKI, NAP, 802.1x, Forefront)
    • Unified Messaging & VOIP (Exchange 2007 & OCS 2007 R2)
    • System Center Management Solutions (SCDPM, SCVMM, SCCM, and SCOM)
    • IT and Data Center Operations
    • IT project management

    They choose Gilham Consulting due to their proven track record in delivering Microsoft centric solutions.  John's customers’ have ranged in size from Fortune 100 companies, non-profits, and well funded startups all across North America.

    He believes that Microsoft products, when managed and architected properly, allow the best platform for organizations to automate and track their business processes to serve their customers more effectively.

    This blog is a collection of the better references we've stumbled across on Microsoft focused best practices relevant to our current or future projects.

    Please enjoy, correct, and contribute!

     Related Posts

    Category
    Advanced Windows Powershell Scripting TechNet Webcast
    4/30/2009 5:19 AM
    Powershell
     
    PowerShell Plus Script Editor and Development Environment (IDE) - Free for Non-Commercial Use
    5/4/2008 6:04 PM
    Powershell
     
    Windows PowerShell 2.0: The CTP v2 Available for Download
    5/4/2008 10:24 AM
    Powershell
     
    PowerGUI: Manage Microsoft PowerShell Scripts in a GUI (System, Exchange 2007, Systems Center, AD)
    12/13/2007 2:28 PM
    Powershell
     


    Contact Us  |   San Diego, California

    Copyright 2007-2009 Gilham Consulting - All rights reserved