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 ...
Check out Osin Grehan's new Windows Mobile PowerShell Provider. It allows you to mount your mobile device, copy and convert files to/from it, get device information, start/stop syncing, and invoke applications. I can't want to give it a try!
Cheers!
Jeffrey Snover [MSFT]Windows Management Partner ArchitectVisit the Windows ...
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-...
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...
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&...