Guy recommends :
Free Solarwinds
VM Console

Solarwinds VM Console Free Download

Find out which of your VMs are a waste of space and which VMs need more resources.



PowerShell Scripting  - Exchange 2007 Verbs

PowerShell Scripting - Exchange 2007 Verbs

The best thing you can do to script Exchange 2007 with PowerShell is to get the QAD snap-in.  This is a useful list of the main verbs for manipulating Exchange 2007 via Microsoft's new command shell.  Look out for pairs e.g. Enable with Disable, Get with Set.

To investigate try Get-help s* where 's' is the first letter of the command that you are researching.  * is the usual wildcard.  I have discovered that exchange specific commands begin with a capital e.g. Get-Mailbox but Get-Eventlog.

Verb Explanation
Disable Disable commands set the specified Exchange Server 2007 object's Enabled status to $false. This prevents it from processing data even though the object exists.
Enable Enable commands set the specified Exchange Server 2007 object's Enabled status to $true. This allows it to process data.
Get Get commands retrieve information about a particular Exchange Server 2007 object.

Note   Most Get commands only return summary information when you run them. To tell the Get command to return verbose information when you run a command, pipe the command to the Format‑List command.

Install Install commands install a new object or feature on an Exchange Server 2007 server.
Move Move commands relocate the specified Exchange Server 2007 object from one container or server to another.
New New commands create Exchange Server 2007 objects e.g. Mailcontact
Remove Remove commands delete the specified Exchange Server 2007 object.
Set Set commands modify the properties of an existing Exchange Server 2007 object.
Test Test commands test specific Exchange Server 2007 components and provide log files for examination.
Uninstall Uninstall commands remove an object or feature from an Exchange Server 2007 server.

Guy Recommends:  Solarwinds' Free Bulk Import ToolFree Download of Solarwinds  Bulk Import Tool

Import users from a spreadsheet.  Just provide a list of the users with their fields in the top row, and save as .csv file.  Then launch this FREE utility and match your fields with AD's attributes, click to import the users.  Optionally, you can provide the name of the OU where the new accounts will be born.

There are also two bonus tools in this free download, and all 3 have been approved by Microsoft:

  1. Bulk-import new users into Active Directory.
  2. Seek and zap unwanted user accounts.
  3. Find inactive computers.

Download your FREE bulk import tool.

If you like this page then please share it with your friends

 


See more Microsoft PowerShell tutorials

PowerShell Tutorials  • Methods  • Cmdlets  • PS Snapin  • Profile.ps1  • Exchange 2007

Command & Expression Mode  • PowerShell pipeline (|)  • PowerShell 'where'  • PowerShell 'Sort'

If you see an error of any kind, do let me know.  Please report any factual mistakes, grammatical errors or broken links, I will be happy to not only to correct the fault, but also to give you credit.

 *


Custom Search

Guy Recommends: WMI Monitor and It's Free!Solarwinds WMI Monitor

Windows Management Instrumentation (WMI) is one of the hidden treasures of Microsoft operating systems.

Fortunately, Solarwinds have created the Free WMI Monitor so that you can actually see and understand these gems of performance information.  Take the guess work out of which WMI counters to use for applications like Microsoft Active Directory, SQL or Exchange Server.

Download your free copy of WMI Monitor

 

Home Copyright © 1999-2012 Computer Performance LTD All rights reserved

Please report a broken link, or an error.