Automating the world one-liner at a time…
A few weeks ago, Kenneth Hansen gave a presentation at the Longhorn Server TAP meeting here in Redmond. Attached are his slides and demo scripts.
These are pretty useful if you want to give an overview presentation about PowerShell.
BTW - Some people have asked about this so I thought I would make it clear - please feel free to use any PPT, Script, etc that we post here in any way you like.
Jeffrey Snover [MSFT]Windows Management Partner ArchitectVisit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShellVisit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx
Is powershell, and the associated .NET objects, going to be part of Longhorn Server "Core" version? I am wondering how MS is going to balance usage of powershell with the attack surface of .NET objects in the "Core" version.
Lee Holmes discussed that point in a recent email:
Since PowerShell installs as an optional component, it does not impact the default security profile of Longhorn. As a non network-facing product, PowerShell does not alter the network attack surface even when enabled.
When customers choose to enable PowerShell, the default configuration takes additional security precautions that completely restrict the execution of any scripts. In addition, PowerShell configures Windows to treat its scripts as text files, preventing the spread of email-based “double-click” viruses.
There is a more detailed overview of PowerShell’s security features here: http://www.leeholmes.com/blog/DemonstrationOfMonadsSecurityFeatures.aspx
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/scriptcenter/hubs/msh.mspx
Chris also talks about the core version specifically. PowerShell will not be supported on Longhorn core or likely any future updates of Longhorn core (SPx, Rx, etc.).
PSH requires .NET, and the .NET framework is not on the core version, and cannot be installed either at this point.
Actually, Microsoft has identified the need to componentize the Framework so that *just enough* of it can be installed on Server Core to run PowerShell. That's a VERY significant task (since the Framework has its own dependencies which would need to be dealt with), so no telling how long it'll take, but it's more likely than SOME future version of Server Core WILL run PowerShell - Microsoft's heard pretty clearly already that customers think it would be a good idea. There are many other strategic reasons to componentize the Framework (and its dependencies), too, making it more likely that it'll happen at some point. So, PowerShell won't be supported on Core until some portion of the Framework can be put on Core... but THAT *WILL* probably happen at some future point (Windows Server 2020, maybe, but eventually!)