PowerShell Team

Automating the world one-liner at a time…

Windows Event Log in PowerShell – Part II

In part 1 of “Event logs in Powershell” we talked about differences between Get-EventLog and Get-WinEvent. In this second part we will dig deeper into Get-WinEvent.   Starting in Windows Vista, the Windows Event Log was updated to provide a more powerful event model which allows for events to be easily categorized into logs and ...

2009 Summer Scripting Games

  Scripting Games start on June 15th and the excitement is building up. Details about the events in the game are emerging. Beginner and Advanced 100 meter Dash Beginner and Advanced Long jump Scripts can be submitted/viewed at http://scriptinggames.poshcode.org/ . There is a TechNet Forum in case you have a question or...

Managing Remote Sessions

  PowerShell V2 introduces a new capability which allows you to remotely manage machines in your organization. You may have already tried this new feature. In this blog, I will show how an administrator can manage different remote sessions (created by different users from different clients) Scenario: Using PowerShell remoting, normal ...

Peering into script modules

Sometimes it’s handy to access internal elements of script modules. For instance you may be using a 3rd party module in your application and would like to see the internal state for debugging purposes. This can be accomplished with the invoke operator (&) which allows you to access a modules session state: & $module {script ...

Getting Started with AppLocker management using Powershell

Have you tried out the new AppLocker feature in Windows 7? If not, check it out here and here. Also check out the AppLocker references during TechEd here along with a related video here. AppLocker allows you to specify applications that can or cannot run on the machines in your network. AppLocker’s management tools are optimized towards ...