-
Recent Posts
Recent Comments
Gaurav Methi on Using PowerShell to Analyze Yo… rkeithhill on Effective PowerShell Item 14:… Microsoft Most Valua… on About Keith Hill Microsoft Most Valua… on About Keith Hill Markus Egger on Windows PowerShell 2.0 String… Archives
- May 2013
- April 2013
- January 2013
- September 2012
- July 2012
- April 2012
- March 2012
- January 2012
- December 2011
- October 2011
- September 2011
- March 2011
- September 2010
- July 2010
- May 2010
- January 2010
- December 2009
- October 2009
- September 2009
- August 2009
- July 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- June 2007
- May 2007
- March 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- September 2005
- August 2005
- June 2005
- March 2005
- January 2005
- December 2004
Categories
Meta
Category Archives: PowerShell
Using PowerShell to Analyze Your PC’s Sleep & Wake Behavior
I have some older hardware running Windows 7 Media Center. Normally we let the Media Center just go to sleep on its own but I’ve been concerned that it isn’t sleeping as much during there wee hours of the morning … Continue reading
Posted in PowerShell
1 Comment
PowerShell Script that Relaunches as Admin
If were following good security practices we run our Windows system with UAC enabled. This means that if you forget to launch your PowerShell prompt as Administrator when you run a script that requires administrative privilege then that script will … Continue reading
Posted in PowerShell
8 Comments
Microsoft Windows PowerShell V3 CTP2 Available for Download
You can grab the bits from here. If you have V3 CTP1 installed, please uninstall it first or you can get your machine into a bad state. So far my favorite two features new to this drop are both in … Continue reading
Posted in PowerShell, PowerShell 3.0
2 Comments
PSCX 2.1 Beta 1 Available for Download
I just uploaded beta 1 for the PowerShell Community Extensions version 2.1. This beta drop adds better support for Windows PowerShell V3 that is in the Windows 8 Developer Preview. There are a number of bug fixes in this drop: … Continue reading
Posted in PowerShell, PowerShell 3.0, PSCX
1 Comment
MVP Summit 2011
Testing out my first WordPress blog post after the switch from Windows Live Spaces (sniff, I will miss you) to WordPress. Regarding the MVP Summit last week, I can’t really talk about much due to just about everything being NDA, NDA, … Continue reading
Posted in PowerShell
Leave a comment
Determining $ScriptDir Safely
We had some boiler plate code that we always put into our scripts to set strict mode and to compute $ScriptDir so the script can load other scripts relatively to its location. This boiler plate code is simple: #requires –Version … Continue reading
Posted in PowerShell
6 Comments
Handling Native EXE Output Encoding in UTF8 with No BOM
If you are dealing with an native executable that outputs UTF8 with no BOM (byte order marker) you will find that PowerShell garbles the input. This is most likely an issue with how the .NET console code interprets the incoming … Continue reading
Posted in PowerShell
2 Comments
Windows PowerShell MVP Award for 2010
Just got the notice today. Woohoo! I expect 2010 to be a banner year for PowerShell as Windows 7 spreads PowerShell out to more folks than ever before and as usual, I’ll do what I can to help folks grok … Continue reading
Posted in PowerShell
Leave a comment
Windows PowerShell 2.0 String Localization
One of the lesser known features in PowerShell 2.0 is that it supports string localization and pretty simply I might add. Now for most developers and admins script localization probably isn’t going to be something you’ll worry about. However if … Continue reading
Posted in PowerShell
4 Comments
It’s Official – Windows 7 and Windows PowerShell 2.0 for Everyone!
Congratulations to the Windows and Windows PowerShell teams for two very excellent releases. I’ve been using Windows 7 daily since January’s beta release and PowerShell 2.0 drops for even longer. Both products are destined to be smash hits in my … Continue reading
Posted in PowerShell
Leave a comment