Showing archive results for 2014

Sep 4, 2014
Post comments count0
Post likes count0

PowerTip: Use Complete Name for PowerShell Cmdlet

Doctor Scripto

Summary: Use the complete name for a Windows PowerShell cmdlet.  How can I ensure that I use the correct cmdlet in my Windows PowerShell session if I think             there might be more than one with the same name?  Use the complete name of the cmdlet—this includes the module name and the cmdlet name....

Scripting Guy!Windows PowerShellPowerTip
Sep 4, 2014
Post comments count1
Post likes count0

PowerShell Naming Conflicts

Doctor Scripto

Summary: Learn how to handle naming conflicts for Windows PowerShell cmdlets.  Hey, Scripting Guy! My Windows PowerShell installation is completely hosted on my laptop. In fact, I tried to uninstall and reinstall Windows PowerShell, but that did not work. I really do not want to have to pave my laptop. I download this module from the Internet....

Scripting Guy!Windows PowerShellscripting techniques
Sep 3, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Copy Array

Doctor Scripto

Summary: Use Windows PowerShell to copy an array.  How can I use Windows PowerShell to copy the contents of one array over another array?  One way to do this is to use the Copy static method from the System.Array .NET Framework class, for example: PS C:> $a = 1,2,3,4,5 PS C:> $b = 6,7,8,9,10 PS C:> [array]::copy($a,$b,5...

Scripting Guy!Windows PowerShellPowerTip
Sep 3, 2014
Post comments count0
Post likes count0

Using and Understanding Tuples in PowerShell

Doctor Scripto

Summary: Guest blogger, Windows PowerShell MVP, Joel Bennett talks about using tuples in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today, we have a guest blog post by Windows PowerShell MVP, Joel Bennett. Joel has been a MVP for a while, and he created the infrastructure that is used by the Scripting Games before they were tu...

Scripting Guy!Windows PowerShellscripting techniques
Sep 2, 2014
Post comments count0
Post likes count0

PowerTip: Reverse Array with PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to reverse an array.  How can I use Windows PowerShell to sort an array that is going in the wrong direction?  Call the Reverse static method from the [array] class, for example: PS C:\> $a = 1,2,3,4,5 PS C:\> [array]::Reverse($a)

Scripting Guy!Windows PowerShellPowerTip