Welcome to MSDN Blogs Sign in | Join | Help

August 2006 - Posts

Tip of the Day

Exchange 2007 has implemented a Get-Tip cmdlet which emits a tip of the day. Flaphead has written a small script which gets them all and has published them on: http://blog.flaphead.dns2go.com/archive/2006/08/17/3514.aspx . There are a number of general

Writing and Reading info from Serial Ports

PSMDTAG:FAQ: How do I read/write data from a Serial Port? Writing to a Serial Port PS> [System.IO.Ports.SerialPort]::getportnames() COM3 PS> $port= new-Object System.IO.Ports.SerialPort COM3,9600,None,8,one PS> $port.open() PS> $port.Write("Hello
Posted by PowerShellTeam | 2 Comments
Filed under: ,

Background "jobs" and PowerShell

A lot of people have asked whegther Windows PowerShell can do UNIX job handling. The paraphrase an old management salesperson joke, "YES - YOU can do UNIX job handling with Windows PowerShell" (which means you have to do it yourself). Jim Truher shows
Posted by PowerShellTeam | 2 Comments
Filed under:

Automating Dell Battery Replacement Discovery

MOW has done it again. Checkout his blog entry which shows how to leverage Windows PowerShell to automate determining which of the Dell laptops in your enterprise need to have their batteries replaced. http://mow001.blogspot.com/2006/08/powershell-has-my-dell-dangerous.html
Posted by PowerShellTeam | 3 Comments
Filed under:

PowerShell Namespsaces

Describes the namespaces defined and used by PowerShell
Posted by PowerShellTeam | 1 Comments
Filed under:

Exchange 2007 Windows PowerShell Script Contest

Josh Maher has an exchange oriented blog at http://joshmaher.wordpress.com/ . He is running a contest to for the best Exchange 2007 script ( http://joshmaher.wordpress.com/2006/08/25/powershell-scripting-for-exchange-2007/ ) and I offered to donate the

Windows PowerShell RC2 Release Notes (DRAFT)

We are finishing up work on Windows PowerShell RC2. While I can't announce an availability date at this point, I know that a lot of you are eager to see what is coming. I think you'll be pleased. Here are our draft release notes for RC2. Note that this

Fun with PowerShell - character manipulation...

I was investigating a localization test failure today and ran into the following error message: 'actual error is 慌 爠捡湩 ⁥ 敤氠捥整牵 긠 䗿 尺 꿿渠 攧楸瑳 ⁥ 慰 ⁳ 畯渠 攧瑳瀠獡甠  潤 獳敩 ⹲਍, expected ' Since it was failing in the French locale, getting what appeared to be a Chinese

More Windows PowerShell and Active Directory

Superstar MOW is at it again with his 7th! blog on using Windows PowerShell and Active Directory. Check it out at: http://mow001.blogspot.com/2006/08/powershell-and-active-directory-part-7.html Jeffrey Snover [MSFT] Windows PowerShell/Aspen Architect

New community project created for Windows PowerShell Extensions

We have worked with CodePlex team to create a new Community Project for Windows PowerShell. Keith Hill, MVP for Windows PowerShell, will be the project coordinator. Microsoft employees won't be able to participate in the community projects directly due
Posted by arulk | 0 Comments

More Windows PowerShell Training Available

Don Jones, of ScriptingAnswers.com, is holding two two-day classes on Windows administrative scripting in Chicago and Seattle this September. While the first day of each class will focus on advanced VBScript techniques, the second day will be entirely
Posted by PowerShellTeam | 0 Comments
Filed under:

Windows PowerShell and the “PowerShell Worm”

Full Article is here: http://blogs.msdn.com/powershell/archive/2006/08/03/687838.aspx A “PowerShell Worm” has recently been reported by several antivirus companies and some news organizations. There has been some confusion and concern around the classification of this malicious script as a worm as well as questions about the risk. It is important to note that the PowerShell Worm will not work and cannot infect Windows PowerShell in its default configuration. This is a proof-of-concept virus whose “Worm” replication mode is just a simple file copy and could have been implemented in any language which supports copying files. The fact that the worm is written in PowerShell rather than another scripting language or even as an executable has actually made it even harder for this virus to spread since the additional security features around PowerShell scripts result in many additional steps for the user to perform before an infection can take place.
Posted by PowerShellTeam | 11 Comments
Filed under: ,

Joel-On-Software on the power of a good language

Joel Spolsky of Joel-On-Software fame, just posted a blog, "Can Your Programming Language Do This?" http://www.joelonsoftware.com/items/2006/08/01.html In this article, he drives home the point that when it comes to code: Maintainability, Readability,
Posted by PowerShellTeam | 11 Comments
Filed under: ,

ScriptCenter EventLog Article

ScriptCenter has a very good article exploring the use of Windows PowerShell to analyze your eventlogs. Check it out at: http://www.microsoft.com/technet/scriptcenter/topics/msh/cmdlets/get-eventlog.mspx PSMDTAG:CMDLET: Get-EventLog PSMDTAG:FAQ: EventLog
Posted by PowerShellTeam | 5 Comments
Filed under: ,

Scott Hanselman's Beantown.Net presentation

Scott Hanselman is a superstar presenter. Here is a link to a video of presentation he gave to the Beantown.net users group in boston that focused on Windows PowerShell. Even if you are a longtime PowerShell user, I encourage you to watch this because

Encoding Operations Knowledge

One of the primary goals of Windows PowerShell is to encode operations knowledge. Consider the example of finding out what domain role a computer plays. If you look at the WMI class WIN32_COMPUTERSYSTEM, you'll see that it tells you this information:
 
Page view tracker