Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Blog - Title
January, 2007
MSDN Blogs
>
Windows PowerShell Blog
>
January, 2007
Server & Tools Blogs
>
Server & Management Blogs
>
Windows PowerShell Blog
All About Windows Server
Windows Server
Windows Server Essentials Blog
Partner & Customer Solutions
Ask The
Performance Team
Ask Premier Field Engineering
Ask the Core Team
Cloud OS Blogs
Brad Anderson - In the Cloud
Building Clouds
Server & Cloud
Datacenter Management
The System Center Team Blog
System Center Virtual Machine Manager
System Center Service Manager
System Center Operations Manager
System Center Data Protection Manager
System Center Orchestrator
Partner & Customer Solutions
Client Management
System Center Configuration Manager
System Center Service Manager
MDOP
Malware Protection Center
Windows Intune
SUS
Partner and Customer Solutions
Virtualization, VDI & Remote Desktop
Virtualization Team Blog
Ben Armstrong’s Virtualization Blog
Jose Barreto Blog on Hyper-V
Partner & Customer Solutions
Remote Desktop Services
Windows Multipoint Server
Ask the Core Team on Hyper-V
File & Storage & High Availability
File & Storage
Jose Barreto
Partner & Customer Solutions
Ask the Core Team on Failover Cluster
Clustering & High Availability
Windows Server Management
PowerShell
Hey Scripting Guy (PowerShell)
Server Manager
Group Policy
Networking
Identity & Access
Ask Directory Services
Active Directory Team Blog
Windows PowerShell Blog
Automating the world one-liner at a time…
Live Now on Server & Tools Blogs
Subscribe
Comments
Contact
Menu
Blog Home
Atom
Translate this page
Powered by
Microsoft® Translator
Tags
Advanced Functions
CMDLET
Community
CTP3
DOCUMENTATION
DOTNET
FAQ
Get-Help
HowTo
INTERNAL
Jeffrey Snover
LANGUAGE
PHILOSOPHY
PowerShell
PowerShell Deep Dive
PowerShell ISE
PowerShell V2
Presentation
Quest
Remoting
Sapien
TechED
Windows Server 2012
WMI
WPF
More
▼
Less
▲
Archives
Archives
August 2013
(1)
July 2013
(4)
June 2013
(1)
April 2013
(1)
March 2013
(1)
January 2013
(2)
December 2012
(1)
October 2012
(2)
September 2012
(2)
August 2012
(1)
July 2012
(5)
June 2012
(9)
May 2012
(1)
April 2012
(3)
March 2012
(7)
February 2012
(1)
January 2012
(1)
December 2011
(2)
October 2011
(3)
September 2011
(3)
August 2011
(2)
July 2011
(2)
June 2011
(1)
May 2011
(1)
April 2011
(5)
March 2011
(4)
February 2011
(4)
January 2011
(2)
December 2010
(2)
November 2010
(1)
October 2010
(1)
September 2010
(1)
July 2010
(1)
June 2010
(9)
May 2010
(7)
April 2010
(4)
March 2010
(3)
February 2010
(7)
January 2010
(8)
December 2009
(8)
November 2009
(9)
October 2009
(7)
September 2009
(12)
August 2009
(8)
July 2009
(11)
June 2009
(16)
May 2009
(15)
April 2009
(18)
March 2009
(15)
February 2009
(6)
January 2009
(45)
December 2008
(31)
November 2008
(5)
October 2008
(12)
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)
More
▼
Less
▲
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Windows PowerShell Blog
PowerShell Benefits Over COM Scripting
Posted
over 6 years ago
by
PowerShell Team
7
Comments
On an internal email thread, someone asked Vivek Sharma why they should implement PowerShell. They knew that PowerShell provided scripting but they had a COM interface which already gave them scripting so the question was – what, if any, were the additional...
Windows PowerShell Blog
PowerShell Cheat Sheet – Now in XPS
Posted
over 6 years ago
by
PowerShell Team
9
Comments
I originally published Ben Pearce's PowerShell Cheat sheet in Word 2007 format . Given that I posted it a week before the Office 2007 launch, it turned out that not many people could read that so I posted it in PDF format as well. It now turns out...
Windows PowerShell Blog
Virtual Machine Manager’s PowerShell Support
Posted
over 6 years ago
by
PowerShell Team
17
Comments
One of the cornerstone features of System Center Virtual Machine Manager (SCVMM) is PowerShell. They have built their entire GUI layered on top of PowerShell in the same way that Exchange 2007 did. A little while ago, I talked to Rakesh Malhotra (the...
Windows PowerShell Blog
Windows PowerShell 1.0 for Windows Vista
Posted
over 6 years ago
by
PowerShell Team
65
Comments
As Jeffery promised to you folks, today we have offically released Windows PowerShell 1.0 for Microsoft Windows Vista . Thanks to everyone for patiently waiting for this release. To download Windows PowerShell 1.0 for Windows Vista, please visit the...
Windows PowerShell Blog
Working With WMI Events
Posted
over 6 years ago
by
PowerShell Team
6
Comments
PowerShell V1 does not provide native support for WMI events. That doesn't mean that you can't use WMI events with PowerShell, it just means that you need to leverage the .NET classes to do so. This falls into the category of "to ship is to choose". Here...
Windows PowerShell Blog
Executive Demo
Posted
over 6 years ago
by
PowerShell Team
3
Comments
I was in an executive review today where a team was demonstrating their technology (don't ask for details, I won't provide any :-) ). At some point they brought up this beautiful graphic showing the geographic distribution of resources and then the graph...
Windows PowerShell Blog
Controlling PowerShell Function (Re)Definition
Posted
over 6 years ago
by
PowerShell Team
8
Comments
A question came up in the PowerShell news group recently where someone was asking how they could prevent functions from being redefined. There are a couple of approaches you can use. First you can make functions read-only or constant. This is pretty...
Windows PowerShell Blog
NetCmdlets Beta 2 is now Available.
Posted
over 6 years ago
by
PowerShell Team
10
Comments
nsoftware has released Beta 2 of NetCmdlet, a PowerShell snapin which provides Cmdlets for a wide range of protocols. The following is from their Release Notes: New In Beta 2 The current release is packed with new features, new functionality...
Windows PowerShell Blog
PowerShell Cheat Sheet Redux - the PDF version
Posted
over 6 years ago
by
PowerShell Team
8
Comments
Attached is a PDF version of Ben Pearce's PowerShell Cheat Sheet. In the past I've encouraged everyone to speak up and complain if we were messing up or not giving you what you needed. I'm pleased to see that you have taken this to heart (seriously...
Windows PowerShell Blog
PowerShell Cheat Sheet
Posted
over 6 years ago
by
PowerShell Team
41
Comments
Ben Pearce was gracious enough to put together a good looking PowerShell Cheat Sheet which I've included as an attachment to this blog post. By definition, a cheat sheet is incomplete so this contains the things that Ben has found to be the most import...
Windows PowerShell Blog
Array Literals In PowerShell
Posted
over 6 years ago
by
PowerShell Team
12
Comments
The first thing to understand is that there are no array literals in PowerShell J Arrays are built using operators or casts. The way to build an array in PowerShell is to use the comma operator as shown in the following examples: $a = , 1 ...
Windows PowerShell Blog
How to create enum in PowerShell?
Posted
over 6 years ago
by
PowerShell Team
8
Comments
[Updated to comply with the naming guidelines (create=>new)] Dynamic assembly emitting techniques can be used to create new classes or data types in PowerShell. Trick is that right permission needs to be set so that data types created in dynamic...
Windows PowerShell Blog
Channel 9 Chat with Scott Hanselman
Posted
over 6 years ago
by
PowerShell Team
0
Comments
A while ago I had the great pleasure to interview Scott Hanselman for Channel 9.about a wide range of topics. It was a blast. Think of it as the geek equivalent of My Dinner with Andre . Ok well neither of us are as interesting as that but Scott comes...
Windows PowerShell Blog
IPCONFIG/All
Posted
over 6 years ago
by
PowerShell Team
13
Comments
While using CMD.exe, I got into a number of bad habits. One of those is the habit of eliminating whitespace for various commands. The problem is that that causes problems with PowerShell. More precisely stated – it doesn't work. Here is what you get:...
Windows PowerShell Blog
PowerShell Analyzer: The Video
Posted
over 6 years ago
by
PowerShell Team
0
Comments
If you haven't already installed PowerShell analyzer, you can now check out want it does by watching the video. Karl Prosser recently released a 7 minute video showing you a run-through (as opposed to a walk-through) of its features. Now that fact that...
Windows PowerShell Blog
Custom Alias Listing
Posted
over 6 years ago
by
PowerShell Team
8
Comments
When you run Get-Alias, it shows you all the aliases currently available. You might want to know which aliases were Custom aliases. That is to say, which aliases did not come built in with PowerShell. So what does it take to answer this question? We...
Windows PowerShell Blog
Managing Processes in PowerShell
Posted
over 6 years ago
by
PowerShell Team
13
Comments
Several people have asked recently about how to manage processes in PowerShell. This blog post should answer a number of those questions. As one might expect from the "shell" part of PowerShell, you don't have to do special anything to start a process...
Windows PowerShell Blog
Difficulties Reading Our Blog
Posted
over 6 years ago
by
PowerShell Team
1
Comments
Kjartan posted the comment: I really like reading your blog and have done so for a long time now, but since I mostly read blogs with the RSS-reader in IE7 the styling of the code samples makes the posts harder to read, for some reason IE7 (at least...
Windows PowerShell Blog
Set-Alias-Strict
Posted
over 6 years ago
by
PowerShell Team
3
Comments
I picked up Jerry Lee Ford's book Microsoft Windows PowerShell Programming for the absolute beginner . In the section on aliases, he warns users that Set-Alias does not verify the validity of the alias assignment. That is a good point. Here is a function...
Windows PowerShell Blog
Accessing data past the end of an array
Posted
over 6 years ago
by
PowerShell Team
1
Comments
In the newsgroup Microsoft.Public.Windows.PowerShell Marco Shaw asked about accessing data past the end of a defined array. He wondered why he didn't get an error. As a general rule in PowerShell, when you ask for something that doesn't exist, you...
Windows PowerShell Blog
Sorting out -GroupBy
Posted
over 6 years ago
by
PowerShell Team
5
Comments
Did you realize that Format-Table had a parameter -GroupBy? This tells Format-Table to generate a series of tables instead of a single table. The best way to get this in focus is to show an example. For the purposes of this blog entry, I'm going...
Windows PowerShell Blog
Behind PowerShell Installer (for Windows XP / Windows Server 2003):
Posted
over 6 years ago
by
PowerShell Team
27
Comments
The information here relates to Windows PowerShell 1.0 installer on downlevel platforms (XP SP2, W2K3 SP1 and above). The job of installers is to create an environment on a user’s machine, so that the underlying software works seamlessly on the machine...
Windows PowerShell Blog
2 + 2 equals "Monday Evening"
Posted
over 6 years ago
by
PowerShell Team
3
Comments
I wanted to follow up on Jeffrey's post and one of the comments. It has to do with this example: PS> [int]1/2 0.5 The reason that we get a double rather than an int is because of precedence. The conversion has a higher precedence than the division...
Windows PowerShell Blog
Two plus two equals "Monday" ?
Posted
over 6 years ago
by
PowerShell Team
10
Comments
In PowerShell, two plus two does not always equal four. Why? Because there are twos and there are twos. Let me explain. PowerShell does a ton of work on your behalf so you can think about what you want to do and not how to do it. Think about the...
Windows PowerShell Blog
Windows PowerShell for Testers
Posted
over 6 years ago
by
PowerShell Team
1
Comments
The PowerShell team is very much into unit testing so, when I ran into this blog by Adam Geras today, I found it very interesting. All its entries are on using PowerShell for testing. I especially liked this entry on using PowerShell and Excel for data...
Page 1 of 2 (34 items)
1
2