Advanced PowerShell Techniques - Channel 9: Recent Episodes

Microsoft

Learn some advanced capabilities within PowerShell. You may have been told that you can't: Change Execution Policy, Collect Data from Users through a GUI, Generate Computer Certificates, and more with PowerShell. The reality is you can do this and much, much more. In this series, learn advanced techniques for bringing your PowerShell to life with pop-up GUI dialogs, effective and high performance loops and more. Plus a bonus, many examples will leverage PowerShell for Azure so you will get a deep dive into not only PowerShell, but PowerShell for Azure! All scripts will be made available so you can "Leverage" the POWER in PowerShell! All of this broken down into bite-sized components that you can consume in just a few minutes each. Brought to you by ITProGuru - Dan Stolts Objectives 1. use various pop-up GUI technologies like File Open Dialog box and Custom Built Dialogs for data collection. 2. to very simply perform very complex actions like looping through object sets and even create a computer certificate that can be used to authenticate with Azure 3. use PowerShell to automate the creation and deployment of an entire lab environment in Azure IaaS or even migrate an on-premises website and database backend to Azure. Primary Author: Dan Stolts (ITProGuru)

View Details

Demonstrate how create and work with GUI Forms using PowerShell. Shows how to create Forms, add labels, text boxes, panels, combo boxes, Pick Lists, and more. Shows how to populate all fields including picklists and combobox lists and work with properties. Shows how to populate and work with array objects. Uses Azure commands to populate list data. Shows how to work with the results from the dialog and the changes made to the form objects.

Please Click Play in video instead of following Links below

GUI Form, Panel, Label, Edit box, Combo Box, List Box, CheckBox and More!!![00:57] Where to get Script[01:07] Create the form[01:57] Access the Power of the .NET Framework[02:32] Empty Form, Add Panel for Buttons[02:58] Create Cancel Button[03:14] Multiple commands on same line[03:40] Create OK Button[03:47] Add Buttons to Panel[04:00] Add Panel to form[04:30] Finalize Form, Show Dialog and evaluate result[05:05] Seeing the form in action[05:47] Add TextBox and Label[07:02] Add and populate Listbox with Azure Location[08:03] Object as Array; Populate Listbox Values[09:37] Set Default "Selected" Value of Listbox[10:45] Add Checkbox[11:09] Add ComboBox and populate with Azure VM Template Images[15:15] Finalize and show form[16:16] Default Value Comparison for Lists[18:15] Evaluating results of form and all fields[19:32] Referencing Array based on Selected ItemBrought to you by ITProGuru Dan Stolts. (Microsoft –Chief Technology Strategist)

Script Home: https://gallery.technet.microsoft.com/GUI-Popup-Custom-Form-with-bf6c4141

More Scripts Home: http://ITProGuru.com/Scripts

Blog: http://ITProGuru.com

More Great Video Content From Dan Stolts https://channel9.msdn.com/Niners/danstolts

View Details

Demonstrate Multiple Ways to Obtain and work with File path Information using PowerShell. Includes get-location, get-item, system.io.directory, system.io.file and more.

Brought to you by ITProGuru Dan Stolts. (Microsoft –Chief Technology Strategist)

Script Location: https://gallery.technet.microsoft.com/scriptcenter/Working-with-Files-Paths-0644d14a

Blog: http://ITProGuru.com

Script Home: http://ITProGuru.com/Scripts

View Details

Demonstrate how create and work with Log files using PowerShell. Shows how to create log files and create function to log information to screen and text file.  Includes ability so set colors and other features.  Full Script published on LogIt on TechNet Gallery.

More great video's of Script at https://channel9.msdn.com/Series/GuruPowerShell

More scripts from Dan Stolts "ITProGuru" at http://ITProGuru.com/Scripts

View Details

Demonstrate how Azure Subscriptions work and how to change default and current subscription.  Shows changing accounts and subscriptions with multiple subscriptions in an account as well as multiple accounts. Presented by ITProGuru Dan Stolts.  More scripts are available at http://ITProGuru.com/Scripts.

View Details

Demonstrate how Azure Account Authentication works

Logging into Azure from PowerShell using multiple methods

Download Script

Script Home: http://ITProGuru.com/Scripts