Showing results for August 2015 - Page 3 of 13 - Scripting Blog [archived]

Aug 26, 2015
0
0

PowerTip: See Enumeration Value in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to retrieve an enumeration value in Windows PowerShell.  How can I see enumeration allowed values in Windows PowerShell? Place the enumeration name in square brackets, and use the double colon syntax to retrieve a specific property.          IntelliSense will show you permissible values. Here is an ...

Scripting Guy!Windows PowerShellPowerTip
Aug 26, 2015
0
0

New PowerShell 5 Feature: Enumerations

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about creating enumerations in Windows PowerShell 5.0. Microsoft Scripting Guy, Ed Wilson, is here. It is nearly a stealth feature in Windows PowerShell 5.0—there is an Enum keyword. Yep, that's right, there is an Enum keyword. I wonder what it does? Probably has something to do with ...

Scripting Guy!Windows PowerShellscripting techniques
Aug 25, 2015
0
0

PowerTip: Find Custom Default PowerShell Parameter Values

Doctor Scripto
Doctor Scripto

Summary: Learn how to find custom default Windows PowerShell parameter values.  How can I find what custom default Windows PowerShell parameter values I have set up on my            Windows PowerShell console?  Check the value of the $PSDefaultParameterValues variable, for example: PS C:\> $...

Scripting Guy!Windows PowerShellPowerTip
Aug 25, 2015
0
0

Add Default Values for PowerShell Module Manifest

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about adding default values to your Windows PowerShell module manifest.  Hey, Scripting Guy! I kind of like the idea of creating a manifest for my Windows PowerShell module, but it seems like a lot of busy work. I mean, I seem to always be typing the same thing over and over. I wish there was ...

Scripting Guy!Windows PowerShellscripting techniques
Aug 24, 2015
0
0

PowerTip: Find Path to PowerShell Module

Doctor Scripto
Doctor Scripto

Summary: Easily find the path to a Windows PowerShell module.  How can I easily find the location where a Windows PowerShell module is installed?  Use the Path property from the PSModuleInfo object that returns from the Get-Module cmdlet, for example: (Get-Module Microsoft.PowerShell.Utility).path...

Scripting Guy!Windows PowerShellPowerTip

Feedback