Showing archive results for 2014

Jan 25, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Choose Random Letters

Doctor Scripto

Summary: Use Windows PowerShell to choose random letters.  How can I use Windows PowerShell to arrange five letters in a random order?  Use the Get-Random cmdlet, specify the letters as input values,           and then use the –count parameter to specify how many to choose: Get-Random -In...

Scripting Guy!Windows PowerShellPowerTip
Jan 25, 2014
Post comments count2
Post likes count0

Using PowerShell ISE Snippets to Remember Tricky Syntax

Doctor Scripto

Summary: Use Windows PowerShell ISE code snippets to ease the burden of tricky-to-remember syntax. Microsoft Scripting Guy, Ed Wilson, is here. Today Jonathan Medd, Windows PowerShell MVP, is with us to share some Windows PowerShell goodness. Take it away, Jonathan… Often when I am teaching students who are new to Windows PowerShell, one of ...

Scripting Guy!Windows PowerShellscripting techniques
Jan 24, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Show Path to All Your Profiles

Doctor Scripto

Summary: Use Windows PowerShell to show the path to all your Windows PowerShell profiles.  How can I use Windows PowerShell to see the path to all of my Windows PowerShell profiles—          not only the current host or current user profile?  Use the $profile automatic variable, pipe the results to...

Scripting Guy!Windows PowerShellPowerTip
Jan 24, 2014
Post comments count0
Post likes count0

Create Backups of Virtual Machines in Windows Azure by using PowerShell

Doctor Scripto

Summary: Guest blogger, Keith Mayer, talks about using Windows PowerShell to manage cloud-based backups. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back Keith Mayer as our guest blogger today. This is Part 1 of a two-part series. In Part 2, we’ll restore virtual machines in Windows Azure from these backups. Keith Mayer is a senior ...

Scripting Guy!Windows PowerShellguest blogger
Jan 23, 2014
Post comments count0
Post likes count0

PowerTip: Find PowerShell Aliases that Rename Commands

Doctor Scripto

Summary: Use Windows PowerShell to find aliases that rename commands.  How can I find Windows PowerShell aliases that rename commands?  Use the Get-Alias cmdlet, pipe the results to Where-Object, and look for a hyphen in the name: Get-Alias | Where name -Match '-' | select name, definition

Scripting Guy!Windows PowerShellPowerTip