Showing category results for Scripting Techniques

Jun 1, 2016
Post comments count0
Post likes count0

Retrieve Azure Resource Manager virtual machine properties by using PowerShell – Part 3

Doctor Scripto
Doctor Scripto

Summary: Identify properties for the operating system of a virtual machine. This blog post is part of a series about how to retrieve Azure Resource Manager virtual machine properties by using PowerShell. To get the most out of this series, read the posts in order. If you’re new to PowerShell, you might want to first read the preceding five-part s...

Windows PowerShellguest bloggerSean Kearney
Apr 25, 2016
Post comments count0
Post likes count0

PowerTip: Specify that a script requires admin privileges to run

Doctor Scripto
Doctor Scripto

Summary: Learn how to require admin privileges to run a Windows PowerShell script.  How can I make sure that my Windows PowerShell script has administrator privileges to run?  Use the #Requires directive and specify RunAsAdministrator. Here is an example:

Apr 18, 2016
Post comments count0
Post likes count0

Discover relationships by using Group-Object in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to use one of the most basic Windows PowerShell cmdlets, the Group-Object cmdlet, to see relationships among different objects. There are some things in life that just seem to always go together: jasmine flowers and green tea, scones and English breakfast tea, or even peanut butter and apples. In the world of Windows PowerShell,...

Scripting Guy!Windows PowerShellscripting techniques
Apr 15, 2016
Post comments count0
Post likes count0

Additional resources for text analysis by using PowerShell

Doctor Scripto
Doctor Scripto

Summary: This is a summary of some of the additional resources for working with text and Windows PowerShell. Good day. Microsoft Scripting Guy, Ed Wilson, is here. So, here's the deal. We are going along and decide to write a simple Windows PowerShell script. Before we know it, the thing has morphed into dozens of lines. And, also before we know i...

Scripting Guy!Windows PowerShellscripting techniques