Browse by Tags

All Tags » PowerShell (RSS)

The Experts Conference - TEC'2010

For the third time, I'll be speaking at the upcoming The Experts Conference, sponsored by Quest. I'll be discussing using Exchange Web Services (EWS) from PowerShell -- and for some reason, my abstract isn't yet posted on the conference website...

Exchange Server 2010 - Administrative Access to All Mailboxes

In Exchange 2010, the storage group has disappeared. Instead, the properties of a database and of a storage group have merged - the result being referred to as a database. Effectively, a database has been promoted to be as important as a storage group...

msExchTargetBridgeheadServersDN and msExchSourceBridgeheadServersDN Errors with Routing Group Connectors

I'm working with a client this week on migrating them from Exchange Server 2003 to Exchange Server 2007. Their Exchange 2003 environment is a weird one - a A/A/A/P/P cluster. That's right - Active/Active/Active/Passive/Passive. Whoever sold them...
Posted by michael | with no comments

Removing Old Emailaddresses/ProxyAddresses in Exchange 2007

I have a client who has multiple business units. Each business unit is placed into its own Organizational Unit (OU) in Active Directory and the business unit has its own unique Email Address Policy (EAP) that (using a RecipientFilter) assigns specific...
Posted by michael | with no comments
Filed under: , ,

PowerScripting PodCast on Exchange Server 2010

I was recently a guest on the "Get-PodCast PowerScripting" podcast, discussing (primarily) Exchange Server 2010. To listen to the podcast, Episode 73, MVP Michael Smith Talks Exchange . Until next time... If there are things you would like to...
Posted by michael | with no comments

Getting the Contents of an Active Directory Integrated DNS Zone

Microsoft has long offered (where "long" means "since Windows Server 2003") the "dnscmd.exe" program to control the actions of a DNS server. And, if you installed the adminpack (RSAT-Tools-DNS on Vista/Server 2008 and above...

Hex and decimal output in PowerShell

In UNIX/Linux/whatever there is this little utility called 'od' which makes it trivial to dump the output of a file in multiple formats. Yesterday, I was working on a project and needed something similar. I could've downloaded Cygwin and installed...
Posted by michael | 1 comment(s)
Filed under: ,

Handling the userPrincipalName in PowerShell

I dealt with the importance of the userPrincipalName in one of my very early blog postings, dated May 26, 2004: The User Principal Name and You . While my company has changed, the basic information contained within that post has not changed at all. I...
Posted by michael | with no comments

More Multi-valued Parameters in PowerShell (SourceTransportServers in Set-SendConnector)

In my first article on Multi-valued Parameters in PowerShell , I discussed a certain class of array parameters that Exchange 2007 uses many times - the [System.Object[]] (i.e., array of arbitrary elements) class for RemoteIpRanges. Unfortunately, that...
Posted by michael | with no comments

Monitoring Exchange Server 2007 with System Center Operations Manager 2007

Just a few days ago, my new book (of the subject title!) started shipping from Amazon. If it hasn't already, it should start appearing in your local bookstores this week. If you want to order from Amazon, you can get it here . Eight months in the...

Exchange 2007 and Windows 2008: Offline Exchange Backup

In my article Getting a List of Stores in a PowerShell Script you learned how to obtain a list of all the files involved for the Exchange database stores on a particular Exchange server. In the preceding article, Getting a List of Storage Groups in a...
Posted by michael | 3 comment(s)
Filed under: , ,

Getting a List of Stores in a PowerShell Script

In my last post, Getting a List of Storage Groups in a PowerShell Script , you saw how to use the information from the Get-StorageGroup cmdlet to discover the particular disk volumes used by a storage group and to build a list of the files that were used...
Posted by michael | 4 comment(s)
Filed under: , ,

Getting a List of Storagegroups in a PowerShell Script

In Getting Our Computername in a PowerShell Script , you learned how to do just that - store the running computer name (the short NetBIOS name) into a PowerShell variable. At the same time, you learned WHY and HOW it worked. From this point forward, I'll...
Posted by michael | 9 comment(s)
Filed under: , ,

userAccountControl manipulation

The userAccountControl attribute, which resides on each user and computer object in an Active Directory forest, is responsible for, well, controlling lots of things about those accounts. For example it controls whether an account is locked out, or whether...
Posted by michael | with no comments

Getting Our Computername in a PowerShell Script

There are lots of reasons why you may want to get the name of your computer while you are executing a PowerShell script, from a parameter you want to pass to a cmdlet or function or for generating a filename. Thankfully, PowerShell makes it easy. Just...
Posted by michael | 1 comment(s)
Filed under: ,
More Posts Next page »