Showing results for June 2008 - Page 3 of 3 - PowerShell Team

Jun 10, 2008
Post comments count0
Post likes count0

PowerShell Eventing QuickStart

PowerShell Team
PowerShell Team

  The second CTP of PowerShell V2 (CTP2) introduces another new feature called PowerShell Eventing. PowerShell Eventing lets you respond to the asynchronous notifications that many objects support. We didn’t get a chance to fully document these cmdlets in the CTP2, though, so here’s a quick start and primer to help you explore the feature. Dis...

Events
Jun 10, 2008
Post comments count0
Post likes count0

Windows PowerShell Sessions @ TechEd IT Pro

PowerShell Team
PowerShell Team

Windows PowerShell Sessions   Breakout Sessions   MGT253 Introduction to Windows PowerShell    Tuesday, June 10 1:15 PM - 2:30 PM, S220 C   Speaker(s): Wassim Fayed Level: 200 - Intermediate   MGT384 What’s Coming in Windows PowerShell V2?    Wednesday, June 11 1:00 PM - 2:15 PM, S320 C  Spea...

TechED
Jun 5, 2008
Post comments count0
Post likes count0

CredSSP for second-hop remoting

PowerShell Team
PowerShell Team

PS C:\> $r = New-PSSessionPS C:\> icm $r {Get-PfxCertificate c:\monad\TestpfxFile.pfx}Enter password:Invoke-Command : The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation.At line:1 char:4+ icm <<<<  $r {Get-PfxCertificate c...

Remoting
Jun 3, 2008
Post comments count0
Post likes count0

V2: Custom Enums

PowerShell Team
PowerShell Team

Once again MOW proves what a clever guy he is.  Check out his blog entry PowerShell V2 CTP2: making Custom Enums using Add-Type. He shows how you can make your own enums using a very simple function he wrote (Add-Enum) which leverages our new Add-Type cmdlet.  Wonderful stuff. Add-Type is one of those huge game-changing features that we'v...

Add-Type
Jun 2, 2008
Post comments count0
Post likes count0

Show-PowerShell / Hide-PowerShell

PowerShell Team
PowerShell Team

During the Week of WPF, someone requested an example of how to minimize the PowerShell window. Here's a quick module to make it happen.  Copy/paste the code below into Documents\WindowsPowerShell\Packages\PowerShell\PowerShell.psm1 $script:showWindowAsync = Add-Type –memberDefinition @” [DllImport("user32.dll")]...

Add-Type