Get Full Control over your Exchange remote PowerShell session

August 22, 2011

var addthis_config = {"data_track_clickback":true}; PowerShell 2.0 supports two kinds of remote configurations: fan-in and fan-out. When we execute a command against a bunch of servers we use fan-out (one to many). Fan-in is used when multiple users are connecting to a remote server (many to one). Exchange server implements a fan-in configuration via a virtual directory on the Exchange server’s IIS. We can connect to the virtual directory (http connection) and manage our Exchange server remotely, without having to install the Exchange Management Tools locally on our admin station. We can create a remote session (using the currently logged...

Exchange – Removing Illegal Alias Characters using PowerShell

August 15, 2011

var addthis_config = {"data_track_clickback":true}; If you're in a mixed-mode environment with both Exchange 2003 and Exchange 2007/2010 you may have noticed this message when using the Get-* cmdlets in the Exchange Management Shell: WARNING: The object has been corrupted, and it's in an inconsistent state. The following validation errors happened: WARNING: Property expression "xx xxx" isn't valid. Valid values are: Strings formed with characters from A to Z (uppercase or lowercase), digits from 0 to 9, !, #, $, %, &, ', *, +, -, /, =, ?, ^, _, `, {, |, } or ~. One...

PowerSE – Free Professional Script Editor

August 13, 2011

var addthis_config = {"data_track_clickback":true}; A few days ago, Devfarm Software the makers of PowerWF, has released their commercial PowerShell editor, PowerSE v2.5, as a free community script editor. PowerSE is an advanced script editor and an interactive console packed with multiple features to help you develop and debug your PowerShell scripts.  Now you can download a fully functional FREE version HERE (requires registration).   PowerSE features: Complete IntelliSense coverage of PowerShell, DotNet and WMI. Real time Syntax Checking instantly lets you see errors in your code and quickly jump...

PowerShell At The Israeli SBS Users Group (Hebrew)

April 27, 2011

מה זה בכלל PowerShell? למה אני צריך את זה? בנות אוהבות את זה? מה אם אף פעם לא כתבתי אפילו שורת פקודה אחת? אני בכלל לא מפתח – זה נוגע אלי? המון שאלות אה? על כל זאת ועוד נדבר במפגש הבא של קבוצת הדיון שייערך ב- 25/05/2011 בשעה 15:45 במשרדי מיקרוסופט, רעננה. את יתר הפרטים תוכלו למצוא בהזמנה כאן:   אין צורך בידע מוקדם, הביאו רק את עצמכם, ראש פתוח ומצב רוח טוב,...
no comments

Learn Windows PowerShell in a Month of Lunches

April 20, 2011

Learn Windows PowerShell in a Month of Lunches is a newly designed tutorial for system administrators. Just set aside one hour a day -- lunchtime would be perfect -- for a month, and you'll be automating administrative tasks in a hurry. Author Don Jones combines his in-the-trenches experience with a unique teaching style to help you master the effective parts of PowerShell quickly and painlessly. Who Should Read It The book is written for administrators, not developers.   What's Inside Learn PowerShell 2 from the beginning-no experience required! ...
one comment

Converting date strings in PowerShell

April 14, 2011

The Get-Date cmdlet lets us create, convert, and format date strings to DateTime .NET objects. However, there’s one thing it cannot do, convert a date string which is not a format it expects (defines by your system locale). For example, if your current culture is en-US you can pass a date string in the format of MM/dd/yyyy to the –Date parameter and Get-date will convert it to a DateTime object: PS > Get-Date -Date 4/13/2011 Wednesday, April 13, 2011 12:00:00 AM   On the other hand, if we pass a string in the format of...

Tied Variables in PowerShell

April 12, 2011

When PowerShell starts it creates a bunch of Automatic Variables. One of them is $PWD. $PWD contains a path object that represents the full path of the current directory (provider sensitive). Typically, when you assign a value to a variable, the value is evaluated once and from then on it's "static", each time you call the variable the returned value is always the same. The beauty of $PWD is that its value is calculated each time you call it. PS> $PWD Path ---- D:\scripts PS >...

The PowerShell Community Toolbar is Chrome supported!

March 10, 2011

I’m excited to announce that the PowerShell Community Toolbar is now supported on Google Chrome browsers. The new Chrome version is still in beta but is fully available for users who access any custom install page from Chrome (e.g. It includes shiny new menus, support for toolbar gadgets, links, apps and much more.     The new version includes enhancements for look and feel for the RSS reader, Menu Buttons and Chevron. Currently, the toolbar does not support the Radio Player (podcasts) and the Weather components. The PowerShell Community Toolbar has...

2011 Scripting Games

March 9, 2011

The 2011 Scripting Games begin on April 4, 2011 and run through April 15, 2011. What is the Scripting Games, you may ask? Well simply put, the Scripting Games are the premier learning event of the year for IT Pro’s and others who wish to master Windows PowerShell. Comprising 10 events, a registered contestant has seven days to create a solution to a scenario driven problem and post their code to a MVP maintained script repository for evaluation by a panel of internationally recognized judges. Daily leaderboards and prize drawings help to maintain the suspense throughout the two-week international...
no comments