Showing results for profiles - Scripting Blog [archived]

Jul 31, 2015
0
0

What’s My PID?

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, creates a function to capture the process ID of a Windows PowerShell host. Microsoft Scripting Guy, Ed Wilson, is here. One of the things I like to know is the process ID (PID) of specific processes. Often this is trivial. I can use the Get-Process cmdlet and, for example, look to see what the process ID...

Scripting Guy!Windows PowerShellscripting techniques
Jul 30, 2015
0
0

Launch Elevated PowerShell Shell

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about launching an elevated Windows PowerShell shell. Microsoft Scripting Guy, Ed Wilson, is here. Today I had a great talk with Steve, the Scripting Manager. One of the things we talked about was the importance of community, and how the Windows PowerShell community seems to be really engaged with ...

Scripting Guy!Windows PowerShellscripting techniques
Jul 29, 2015
0
0

Use Function to Determine Elevation of PowerShell Console

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about using a function to determine if a Windows PowerShell console is elevated. Microsoft Scripting Guy, Ed Wilson, is here. I had a friend tell me that nearly half of all the cmdlets, functions, and whatever’s in Windows PowerShell 4.0 on Windows Server 2012 R2 required ...

Scripting Guy!Windows PowerShellscripting techniques
Jul 28, 2015
0
0

One of My Favorite PowerShell Functions

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, discusses one of his favorite functions: Get-EnumValues. Microsoft Scripting Guy, Ed Wilson, is here. Today I am working on my presentation for Atlanta TechStravaganza 2015, which will happen on August 21. It will be a really cool event, and the Scripting Wife and I are looking forward to attending ...

Scripting Guy!Windows PowerShellscripting techniques
Jul 27, 2015
0
0

Describe Your PowerShell Variables

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about adding a description to variables. Microsoft Scripting Guy, Ed Wilson, is here. There is a “water feature” outside that keeps running and running and running. It is a bit strange, and to be honest, it makes me think that it is raining all the time. In central Florida in the summer...

Scripting Guy!Windows PowerShellscripting techniques