Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Blog - Title
December, 2006
MSDN Blogs
>
Windows PowerShell Blog
>
December, 2006
Server & Tools Blogs
>
Server & Management Blogs
>
Windows PowerShell Blog
All About Windows Server
Windows Server
Windows Server Essentials Blog
Building Clouds
Partner & Customer Solutions
Server & Cloud
Ask The
Performance Team
Ask Premier Field Engineering
Ask the Core Team
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
Microsoft Leadership
Brad Anderson - In the Cloud
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
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
Boolean Values and Operators
Posted
over 7 years ago
by
PowerShell Team
2
Comments
John Smith asked what TRUE and FALSE were in PowerShell on our newsgroup Microsoft.Public.Windows.PowerShell. The simple answer to this is $TRUE and $FALSE but the complete answer is a richer. PowerShell has a very rich notion of TRUE and FALSE. The best...
Windows PowerShell Blog
Documenting TRAP and THROW
Posted
over 7 years ago
by
PowerShell Team
14
Comments
We pride ourselves about being a bit overboard when it comes to Error handling. That is why our sparse (non-existing?) documentation of THROW and TRAP handling is both ironic and sad. 10,000 apologizes for that, we'll fix it in the next release. In...
Windows PowerShell Blog
ConfirmPreference
Posted
over 7 years ago
by
PowerShell Team
4
Comments
With Windows PowerShell you can specify -CONFIRM on commands that have a side-effect on the system and it will ask you whether to perfmon the action or not. e.g. PS> Stop-Process 7004 -Confirm Confirm Are you sure you want to perform this action...
Windows PowerShell Blog
$OutputEncoding to the rescue
Posted
over 7 years ago
by
PowerShell Team
10
Comments
You might have noticed that “findstr” does not work properly with non-English text in PowerShell. For example: Let’s create a text file with some Chinese characters in it. PS C:\> ${c:\test.txt}=" 中文 " Try to use findstr to find one of...
Windows PowerShell Blog
Windows PowerShell SDK
Posted
over 7 years ago
by
PowerShell Team
23
Comments
Windows PowerShell Software Development Kit (SDK) is now available as part of Microsoft Windows SDK for Windows Vista. Microsoft Windows SDK can be downloaded from http://www.microsoft.com/downloads/details.aspx?FamilyId=C2B1E300-F358-4523-B479-F53D234CDCCF&displaylang...
Windows PowerShell Blog
DIY: Ternary operator
Posted
over 7 years ago
by
PowerShell Team
11
Comments
<Changed DYI => DIY. jps> At Microsoft, "to ship is to choose". One of the things we were very disappointed in not being able to ship in V1.0 is a ternary operator . Here is a description of a ternary operator from Wikipedia: Many programming...
Windows PowerShell Blog
Editing your Profile file
Posted
over 7 years ago
by
PowerShell Team
4
Comments
$hay has a new scripting blog at http://scriptolog.blogspot.com/ . His first blog entry Restart your engine - The PowerShell Way , talks about how he frequently edits his PowerShell profile file and then restarts his session. In his directions he says...
Windows PowerShell Blog
[SWITCH]
Posted
over 7 years ago
by
PowerShell Team
1
Comments
Here is a pointer to a good demonstration of PowerShell's [SWITCH] datatype: http://msgoodies.blogspot.com/2006/12/negating-powershell-switch-parameters.html Jeffrey Snover [MSFT] Windows PowerShell/MMC Architect Visit the Windows PowerShell Team...
Windows PowerShell Blog
Resolve-Error
Posted
over 7 years ago
by
PowerShell Team
7
Comments
Recently I posted the following to the Microsoft.Public.Windows.PowerShell newsgroup (which you should participate in if you are not yet) Below is a function that I encourage you to add to your Profile files and then use when reporting an error...
Windows PowerShell Blog
Apologizes for delays in approving comments
Posted
over 7 years ago
by
PowerShell Team
9
Comments
We had a bad windstorm here and most people have been without power since Thursday night. Microsoft was closed on Friday and power got restored sometime during the weekend. Jeffrey Snover [MSFT] Windows PowerShell/Aspen Architect Visit the Windows...
Windows PowerShell Blog
KB: 1024 vs 1000
Posted
over 7 years ago
by
PowerShell Team
15
Comments
I love the fact that we designed PowerShell for Admins and IT Pros and love to demonstrate what that means. Often I'll demo PowerShell and show how you can use "KB", "MB", and "GB" as I did in my previous blog entry : PS> 1kb 1024 PS> 1mb 1048576...
Windows PowerShell Blog
Philosophy of Automation
Posted
over 7 years ago
by
PowerShell Team
13
Comments
In my previous post about Boolean Values And Operators I made the following point: " PowerShell has a rich notion of TRUE/FALSE because it dramatically reduces the overhead and junk that you need to deal with when doing your work. " This philosophy flows...
Windows PowerShell Blog
Use Copy-Property to Make it Easier to Write, Read,and Review Scripts
Posted
over 7 years ago
by
PowerShell Team
5
Comments
<Updated script on 1/1/2007 to reflect fixes suggested by James Manning> Dennis Verwiej is doing some great PowerShell work over at his blog Just PowerShell It at http://dverweij.spaces.live.com/ . Recently he posted a blog entry Import Citrix...
Windows PowerShell Blog
Send-SignatureToClipBoard
Posted
over 7 years ago
by
PowerShell Team
11
Comments
In my previous blog about the Philosophy of Automation , I encouraged everyone to share their automation even when it was small. Here I'll follow that advice. I find myself doing quite a bit of blogging and commenting on other people's blogs. I am...
Windows PowerShell Blog
Jingle
Posted
over 7 years ago
by
PowerShell Team
7
Comments
As an attempt to spread some holiday joy, Satish Mathew and I wrote the following script. Hope you enjoy it! - Marcel Ortiz ######################################################################################## $notes = write-output ` 4A4 4A4...
Windows PowerShell Blog
Start-ScreenSaver
Posted
over 7 years ago
by
PowerShell Team
0
Comments
Boy do I love the community aspect of PowerShell. The great thing about it is that you get the leverage really smart people from across the world. I never spent any time thinking about screen savers and it turns out that you can just execute them like...
Windows PowerShell Blog
File Aging Script
Posted
over 7 years ago
by
PowerShell Team
4
Comments
Jeffery Hicks as a very nice File Aging script. The thing that Iike about it is that it provides a very good illustration of how to use a number of PowerShell features including: Working with Files Working with Dates Control structures: if...
Windows PowerShell Blog
Mandelbrot One-liner
Posted
over 7 years ago
by
PowerShell Team
5
Comments
WaiKin Wong sent me a Mandelbrot one-liner: $i=$j=$r=$x=$y=[float]-16; while(($y++) -lt 15) {for($x=0; ($x++) -lt 84; write-host (" .:-;!/>`)|&IH%*#"[$k -band 15]) -nonewline){$i=$k=$r=[float]0;do{$j=$r*$r-$i*$i-2+$x/25;$i=2*$r*$i+$y/10;$r=...
Windows PowerShell Blog
PowerShell Scripting Contest - 2 weeks left
Posted
over 7 years ago
by
PowerShell Team
1
Comments
You still have an opportunity to step into the winners circle by submitting your PowerShell Scripts to our Scripting contest. Your entry has to submitted by Dec 15, 2006 to be eligible to win. We all techies so let's do the math - We are giving...
Windows PowerShell Blog
Get-Weather
Posted
over 7 years ago
by
PowerShell Team
2
Comments
Jeffery Hicks has a very cool blog entry where he defines a Get-Weather script which downloads the weather from yahoo.com, casts the results to XML and then reports the weather using the Speech object. It's totally cool. I'm going to show it off today...
Windows PowerShell Blog
PowerShell Essentials Package
Posted
over 7 years ago
by
PowerShell Team
0
Comments
A number of people have asked me about PowerShell IDEs and about how to get started with PowerShell. Here is something to consider - Sapien is offering a special price on a package of components focused on PowerShell. The package includes Tools (PrimalScript...
Windows PowerShell Blog
Resolve to blog your automation
Posted
over 7 years ago
by
PowerShell Team
1
Comments
In response to my entry Philosophy of Automation , Tim Long blogged a response where he advanced the idea that people should make a New Year's Resolution to start a blog (if you have already). That is a great idea. I would follow on and further encourage...
Windows PowerShell Blog
Sad State of Blogging Software
Posted
over 7 years ago
by
PowerShell Team
4
Comments
The state of blogging software is pretty sad. I must be a harder problem than I can imagine (of course there are other explainations but I'll be gracious and go with that one for now.) I started a entry, got distracted and posted another blog entry...
Windows PowerShell Blog
PowerShell and IIS7 Revisited
Posted
over 7 years ago
by
PowerShell Team
2
Comments
A while ago I posted an entry about PowerShell and IIS7 which then directed you to a video of the demo I did with Bill Staples the PUM of IIS. BTW - PUM stands for Product Unit Manager aka "BigWig", aka "Grand Pooba". A PUM has like the CEO of a...
Windows PowerShell Blog
Get-PSUGUK - UK Users Group
Posted
over 7 years ago
by
PowerShell Team
2
Comments
Get-PSUGUK is the name of the PowerShell UserGroup being formed in the UK. They are having their first meeting on January 24th 2007 at Global Knowledge's office in Workingham starting at 18:00. PowerGadgets is providing the beer and pizza. The draft agenda...
Page 1 of 1 (25 items)