Showing archive results for July 2015

Jul 9, 2015
Post comments count0
Post likes count0

PowerTip: Determine Name of PowerShell Host

Doctor Scripto

Summary: Learn how to determine the name of the Windows PowerShell host.  How can I find the name of the Windows PowerShell host (such as the Windows PowerShell console or            the Windows PowerShell ISE)?  Use the Get-Host cmdlet and select the Name property: (get-host).name

Scripting Guy!Windows PowerShellPowerTip
Jul 9, 2015
Post comments count0
Post likes count0

Understanding Advanced Functions in PowerShell

Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about Windows PowerShell advanced functions.  Hey, Scripting Guy! I keep hearing about advanced functions, but to be honest, I am not really sure what they are talking about. I mean, I can do a function, but when does it become advanced? Only when it is really long? Or when it does complicated...

Scripting Guy!Windows PowerShellscripting techniques
Jul 8, 2015
Post comments count0
Post likes count0

PowerTip: Find Status of Range of Services with PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to find the status of a range of services.  How can I use Windows PowerShell to find the status of a range of services that have an initial letter that            does not begin with V through Z?  Use Get-Service with the –Exclude parameter, and supply...

Scripting Guy!Windows PowerShellPowerTip
Jul 8, 2015
Post comments count0
Post likes count0

Fun with PowerShell Functions

Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about basic design considerations for Windows PowerShell functions.  Hey, Scripting Guy! I keep hearing about functions, but I really do not know what they are, how to create one, or even how to use one. Can you help me with this? I am not a programmer, but it seems likely that you guys are tr...

Scripting Guy!Windows PowerShellscripting techniques
Jul 7, 2015
Post comments count0
Post likes count0

PowerTip: Pick Up User Name with PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to easily pick up the user name.  How can I easily pick up the user name from my Windows PowerShell script?  Use the USERNAME environmental variable, and pick it up from the $env Windows PowerShell drive: $env:USERNAME

Scripting Guy!Windows PowerShellPowerTip