Welcome to MSDN Blogs
Sign in
|
Join
|
Help
PowerShell Team Blog
Changing the world one-liner at a time.
This Blog
About
Syndication
RSS 2.0
Atom 1.0
Search
Go
Tags
Active Directory
Add-Module
Add-Type
ApartmentState
Bash
CMDLET
CMDLET:FORMAT
CMDLET:UTILITY
Custom Snapin
Discoverability Gap
DOCUMENTATION
DOTNET
ENVIRONMENT
ERROR
Events
FAQ
FORMATEXTENSION
Get-Command
Get-Credential
Get-Help
Get-Module
Get-Random
Group Policy
Help file
HelpFile
IIS
Impersonation
installation
INTERNAL
LANGUAGE
LANGUAGE:CONTROL
Module
OpenXML
Out-Gridview
PARSER
Performance
PHILOSOPHY
PowerGUI
PowerShell
Proxy
PsSnapin
Push-Noun
Quest
Release/Download
Remoting
Runspace
ScriptCmdlet
SDK
SECURITY
Server Core
SHELL
Show-Control
SQL
STA
Tcl
TechED
Tk
TOOL
Transaction
TYPE:COM
TYPE:WMI
TYPE:XML
TYPEEXTENSION
uninstallation
Web Service
WMI
WPF
Archives
October 2008 (2)
September 2008 (14)
August 2008 (8)
July 2008 (15)
June 2008 (26)
May 2008 (20)
April 2008 (18)
March 2008 (18)
February 2008 (12)
January 2008 (13)
December 2007 (4)
November 2007 (26)
October 2007 (6)
September 2007 (8)
August 2007 (11)
July 2007 (5)
June 2007 (27)
May 2007 (33)
April 2007 (11)
March 2007 (28)
February 2007 (16)
January 2007 (34)
December 2006 (25)
November 2006 (26)
October 2006 (10)
September 2006 (17)
August 2006 (16)
July 2006 (20)
June 2006 (22)
May 2006 (11)
April 2006 (62)
June 2008 - Posts
Monday, June 30, 2008 1:42 PM
PowerPack Challenge '08
Quest is holding a PowerGUI scripting contest starting tomorrow July 1. If you are not familar with PowerGUI, it is a PowerShell scripting and execution GUI. If you aren't already a PowerGUI user, here is a great opportunity to kick the tires. If you
Posted by
PowerShellTeam
|
3 Comments
Filed under:
PowerGUI
,
Quest
Friday, June 27, 2008 4:55 AM
New AD Cmdlets from Quest
Rod Trent from MyITForum.com has the details HERE Enjoy! 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.msp
Posted by
PowerShellTeam
|
0 Comments
Filed under:
Quest
,
Active Directory
Friday, June 27, 2008 3:48 AM
#7 Best all time Microsoft Product
Check out what EWeek has declared to be the #7 Best Microsoft Product: http://www.eweek.com/c/a/Security/The-Best-and-Worst-Microsoft-Products/8/ And that is Version 1 - wait until they see Version 2! SNOOPY DANCE! Jeffrey Snover [MSFT] Windows Management
Posted by
PowerShellTeam
|
1 Comments
Monday, June 23, 2008 3:58 AM
SQL Use of MiniShells
The SQL team has been receiving a lot of bashing lately over some of the decisions they made integrating PowerShell into SQL 2008. I thought I would take a couple minutes to clarify a few things, eat some sin and talk about a constructive engagement model
Posted by
PowerShellTeam
|
19 Comments
Filed under:
SQL
Friday, June 20, 2008 10:09 PM
Getting Credentials From The Command Line
When you use the Get-Credential cmdlet, you get a GUI dialog box to enter the credentials. This is the "Common Criteria Certified" way of handling credentials. It is also a pain in the butt at times. If you are an admin, you can alter this and request
Posted by
PowerShellTeam
|
12 Comments
Filed under:
Get-Credential
Friday, June 20, 2008 4:06 AM
Group Policy Health Cmdlet
SDMSoftware has just released a Group Policy Health Cmdlet HERE . They have a great, high-quality, 9 minute DEMO VIDEO showing what the cmdlet does and how to work it. Nice stuff. Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows
Posted by
PowerShellTeam
|
1 Comments
Filed under:
Group Policy
Thursday, June 19, 2008 6:57 PM
Windows PowerShell Virtual User Group Meeting #6 - June 24th.
Marco Shaw is hosting the 6th PowerShell Virtual User Group meeting on June 24th. (See http://marcoshaw.blogspot.com/2008/06/windows-powershell-virtual-user-group.html for details and sign-up). He has graciously allowed Wassim and I to present some of
Posted by
PowerShellTeam
|
0 Comments
Thursday, June 19, 2008 1:34 PM
Push-Noun
We looked at a lot of CLI models when designing PowerShell. One of them was netsh. One of the things I had a love/hate relationship with was netsh's use of context. In netsh, you can set context via navigation and then you don't need
Posted by
PowerShellTeam
|
4 Comments
Filed under:
Push-Noun
Attachment(s):
push-noun.ps1
Wednesday, June 18, 2008 4:32 PM
PowerShell V1 and V2 Running On WS08 Server Core
Yup- that's right. Check it out at superstar Karl Prosser's blog HERE . He even has a video of it working. The blog is somewhat of a tease in that he is going to wait till tomorrow to tell us how he did it. I'm constantly amazed by what the community
Posted by
PowerShellTeam
|
0 Comments
Filed under:
Server Core
Tuesday, June 17, 2008 4:53 PM
When Will PowerShell V2 Ship?
By far, the most frequently asked question at TechEd 2008 was, "When will PowerShell V2 Ship?". We are expressly prohibited from answering that question and I know that that can be frustrating. I can say this: We are now feature complete with V2. History
Posted by
PowerShellTeam
|
10 Comments
Tuesday, June 17, 2008 4:43 PM
Windows, PowerShell and WMI - Unveiling Microsoft's Best Kept Secret
I mentioned that one of my favorite TechEd 2008 talks was Ben Pearce's talk, "Windows, PowerShell and WMI - Unveiling Microsoft's Best Kept Secret". Attached is Ben's presentation. You can get his demos at the following locations: http://blogs.technet.com/benp/archive/2008/06/12/tech-ed-2008-demo-1-administering-windows.aspx
Posted by
PowerShellTeam
|
1 Comments
Filed under:
WMI
Attachment(s):
SVR387_Pearce.pptx
Tuesday, June 17, 2008 2:13 PM
Explaining Objects To Non-Programmers
One of my favorite TechEd 2008 talks was Ben Pearce's talk, "Windows, PowerShell and WMI - Unveiling Microsoft's Best Kept Secret". It was a great talk all up but the one thing I walked away saying, "I've got to steal that", was Ben's explaining of Objects.
Posted by
PowerShellTeam
|
5 Comments
Attachment(s):
WhatAreObjects.pptx
Saturday, June 14, 2008 7:55 PM
Working With Web Services (Post CTP2 V2 Feature)
Let me start by first apologizing for sharing some information that you are not going to be able to go out and try right away. During one of the interactive Q&A sessions at TechEd, people asked about working with Web Services. I referred
Posted by
PowerShellTeam
|
8 Comments
Filed under:
Web Service
Saturday, June 14, 2008 3:29 PM
Block Comments in V2
Smith Catar was looking at my Tech Ed demos and noticed that I used block comments. These are not in the CTP that you have so I guess I sorta let this one leak out. Yes - V2 will have BLOCK COMMENTS!!! Block comments start with "<# and end with "#>".
Posted by
PowerShellTeam
|
4 Comments
Saturday, June 14, 2008 4:56 AM
Get-OSSku.ps1
Nitin Bhat the WMI PM recently pointed HERE to answer the question, how do know what OS SKU a machine is running? You can run the expression $((gwmi win32_operatingsystem).OperatingSystemSKU) to the the value and then look it up on that table. I decided
Posted by
PowerShellTeam
|
3 Comments
Filed under:
WMI
Attachment(s):
Get-OSSKU.ps1
Saturday, June 14, 2008 12:29 AM
Best of Tech Ed: Breakthrough Product of the year => PowerGUI
The Best of Tech Ed 2008 were awarded and PowerGUI won Breakthrouth Product of the Year . WOW what an honor and acknowledgement of great work! Congratulations to Dmitry, Kirk and the rest of that team! You guys have brought a lot of great visibility to
Posted by
PowerShellTeam
|
1 Comments
Filed under:
TechED
,
PowerGUI
Friday, June 13, 2008 8:53 PM
PowerShell & OpenXML
Eric White just posted an amazing set of Cmdlets on CodePlex . They allow you to use PowerShell to manipulate OpenXML documents to do all sorts of fun things, like create graphs from the output of PowerShell, automatically generate documents from
Posted by
PowerShellTeam
|
2 Comments
Filed under:
OpenXML
Friday, June 13, 2008 2:38 PM
Yes, But What About The FLAVOR?
Kirk Munro posted a blog entry HERE saying how thrilled he was at level of presence PowerShell had at TechEd 2008. It was a VERY good TechEd for PowerShell. There were lots of breakout sessions, lots of hands on labs and interactive Q&A, lots of vendor
Posted by
PowerShellTeam
|
1 Comments
Filed under:
TechED
Thursday, June 12, 2008 5:35 PM
TechEd: MGT384 What's Coming In PowerShell V2 - DEMOs
Attached are the demos I used in that talk. 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.msp
Posted by
PowerShellTeam
|
1 Comments
Filed under:
TechED
Attachment(s):
WhatsComingInV2Demos.zip
Thursday, June 12, 2008 5:31 PM
TechEd: MGT384 What's Coming In PowerShell V2
Attached are the slides I presented at TechEd yesterday. 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.msp
Posted by
PowerShellTeam
|
0 Comments
Filed under:
TechED
Attachment(s):
Mgt384-Jsnover-WhatsComingPowerShellV2.pptx
Wednesday, June 11, 2008 12:15 AM
PowerShell Eventing QuickStart
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
Posted by
PowerShellTeam
|
6 Comments
Filed under:
Events
Tuesday, June 10, 2008 5:21 PM
Windows PowerShell Sessions @ TechEd IT Pro
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
Posted by
PowerShellTeam
|
3 Comments
Filed under:
TechED
Sunday, June 08, 2008 2:48 PM
PowerShell Access to Windows Mobile Devices
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!
Posted by
PowerShellTeam
|
1 Comments
Thursday, June 05, 2008 4:13 PM
CredSSP for second-hop remoting
PS C:\> $r = New-Runspace PS 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
Posted by
PowerShellTeam
|
1 Comments
Filed under:
Remoting
Tuesday, June 03, 2008 1:37 PM
V2: Custom Enums
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
Posted by
PowerShellTeam
|
2 Comments
Filed under:
Add-Type
Tuesday, June 03, 2008 1:29 AM
Show-PowerShell / Hide-PowerShell
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
Posted by
PowerShellTeam
|
5 Comments
Filed under:
Add-Type