Showing archive results for 2009

Feb 10, 2009
Post comments count0
Post likes count0

JAOO Talk

PowerShell Team

Last year I was delighted to be invited to give a talk at JAOO conference.  This is a great language conference.  The thing I was delighted to discover is that the while it had Microsoft content (AndersH gave one of the keynotes), the bulk of the people and content was non-Microsoft.  This allowed me to give a different kind of a tal...

Video
Feb 6, 2009
Post comments count0
Post likes count0

#requires your scripts

PowerShell Team

Recently, I saw someone that had developed a script on the CTP3 drop and was then having trouble running it on v1 of PowerShell.  Eventually it turned out that he was using v2 features in his script.  Most of you know that we are trying to keep the next version of PowerShell compatible with v1 and I encourage you to report any p...

Feb 5, 2009
Post comments count0
Post likes count0

Diff between Windows PowerShell versions

PowerShell Team

PowerShell MVP Oisín Grehan has done a really good job in getting the diff between PowerShell releases. V1 and CTP3 http://www.nivot.org/2009/02/04/DifferencesBetweenPowerShell10RTMAndPowershell20CTP3Win7Beta.aspx CTP2 and CTP3 http://www.nivot.org/2008/12/23/PowerShell20CTP3HasArrived.aspx Thanks a lot Oisín. Osama Sajid [MSFT]  

CTP3
Feb 4, 2009
Post comments count0
Post likes count0

Console Application (Non) Support in the ISE

PowerShell Team

There are some limitations on how the ISE interacts with console applications you need to be aware of, for apps like ftp and netsh.First of all, the ISE Runs console apps that don’t require user input just fine.For example, “ping www.microsoft.com” and “cmd /c dir /s”Piping also works fine in the ISE,For example, PS C:\Users\ibrar> "show mode" |...

PowerShell ISE
Jan 31, 2009
Post comments count0
Post likes count0

Managing Windows Update From PowerShell

PowerShell Team

James O’Neil just posted how to manage Windows Update with Windows PowerShell Here’s a quick sample of what he can do: Add-WindowsUpdate –Auto to download updates and reboot if needed, Set-WindowsUpdateConfig –n 4 –i to schedule updates (Including the merely recommended)  and Get-WindowsUpdateConfig Check it out: http://blogs.techn...

Windows Update
Jan 28, 2009
Post comments count0
Post likes count0

Getting Alternate Streams (Verbose, Progress, Debug) with the PowerShell API

PowerShell Team

Dozens of people could write dozens of books on all of the cool stuff we improved in V2 of PowerShell.  One of the nice little things we did was give a more understandable API than Pipeline (which is the class you can use to invoke code from C# in V1).  This API is called the PowerShell API, and one of the improvements it makes is the abi...

CTP3
Jan 27, 2009
Post comments count0
Post likes count0

Rename-Drive : Renaming Drives with PowerShell & WMI

PowerShell Team

.CmdletName { font-size:large } .CmdletSynopsis { font-size:medium } .CmdletDescription { font-size:medium } .CmdletParameters { font-size:medium } th { font-size: medium; font-style: italic } table { border: 1 } Shane Burton from Compellent just asked me to help him rename a drive with Pow...

WMI
Jan 26, 2009
Post comments count0
Post likes count0

Managing Server Features with PowerShell Cmdlets on Windows 2008 Server R2 Beta

PowerShell Team

If you have used Windows Server 2008, probably you had experience with managing server features. Server Manager is a traditional way to install/uninstall server features. On Windows 2008 Server R2 Beta, Windows PowerShell provides a new approach to managing server features via Server Manager PowerShell cmdlets. This blog will walk through installin...

Jan 26, 2009
Post comments count0
Post likes count0

Design of Script Friendly APIs, lessons from $psISE

PowerShell Team

Cmdlets are high level, task-oriented abstractions.  The implementation of cmdlets can talk to anything:  Web services, COM objects, WMI objects, .NET objects – anything.   Depending upon how developers design their API, they can make it easier or harder to write cmdlets.  Now that you can write cmdlets in PowerShell itself...

PowerShell ISEPHILOSOPHY
Jan 25, 2009
Post comments count0
Post likes count0

PowerShell Wizard

PowerShell Team

Ye110wbeard did it again. Check THIS out.  Loads of fun.   Experiment! Enjoy! Engage! Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scri...