Scripting Blog

A place to learn about PowerShell and share stories of automation

Enable PowerShell "Second-Hop" Functionality with CredSSP

Summary: Microsoft Scripting Guy, Ed Wilson, talks about the dreaded "second-hop" problem with Windows PowerShell and how to overcome it with CredSSP.  Microsoft Scripting Guy, Ed Wilson, is here. First, a description of the problem In yesterday’s article, I talked about using the Windows Update module to update drivers, patches, ...

Use PowerShell to Duplicate Process Tokens via P/Invoke

Summary: Guest blogger, Niklas Goude, shows how to use P/Invoke to duplicate process tokens from LSASS to elevate privileges. Microsoft Scripting Guy, Ed Wilson, is here. Today we have Part 4 of our five part security series written by guest blogger, Niklas Goude. Niklas Goude is a Security Consultant at TrueSec and an MVP in Windows ...

Beat the Auditors, Be One Step Ahead with PowerShell

Summary: Microsoft PFE, Georges Maheu, opens his security assessment toolbox to discuss a Windows PowerShell script he uses to look at Windows services. Microsoft Scripting Guy, Ed Wilson, is here. Our guest blogger today is Georges Maheu. Georges is one of my best friends, and I had a chance to work with him again during my recent Canadian ...

Quick-Hits Friday: Run VBScript from the PowerShell Console, and Search for Multiple Extensions

Summary: The Microsoft Scripting Guys discuss adding Run As capability to VBScript and using Windows PowerShell to run VBScript. Also discussed: Searching for multiple extensions, and creating a local account and adding it to the local administrators group. In this post:    How Can I Run a VBScript Script from the ...

Hey, Scripting Guy! Tell Me About Permissions and Using Windows PowerShell 2.0 Cmdlets with SharePoint 2010

  Hey, Scripting Guy! What permissions do I need to have in order to use the Windows PowerShell 2.0 cmdlets that ship with SharePoint 2010? -- FJ   Hello FJ, Microsoft Scripting Guy Ed Wilson here. One of the great things about being a Microsoft Scripting Guy is getting to meet really smart people who use our products. I ran across...

Feedback usabilla icon