Showing tag results for scripting techniques

Aug 25, 2015
Post comments count0
Post likes count0

Add Default Values for PowerShell Module Manifest

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
Jul 31, 2015
Post comments count0
Post likes count0

What’s My PID?

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
Post comments count0
Post likes count0

Launch Elevated PowerShell Shell

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
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Check Logon Server for Client

Doctor Scripto

Summary: Use Windows PowerShell to check the logon server of your clients.  How can I use Windows PowerShell to verify if my users are trying to sign in to their computers with a Windows account            instead of using their domain credentials?  Check the value of the environmental LOGONSERVER&n...

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

Use Function to Determine Elevation of PowerShell Console

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 eleva...

Scripting Guy!Windows PowerShellscripting techniques