-
I am trying to wrap my head around how to subtract one Get-Casmailbox array from a 2nd Get-Casmailbox array.The Allmailboxes are windows 2007 mailboxes across 2 (or more) servers. And the $Distlistx are groups in active directory. My goal is to process separate rules on the group members. Such as activesync...
-
Hello all, I'm currently trying to make a powershell script that gives me the following information in an e-mail with an XML attachment that contains the asked information This is the information I need to get: Computername - How much space there is left/free - How much space there is used Memory...
-
Hi All, Im actually a newbie here...and has been struggling to create a script that would automatically create an Exchange contact for a particular user, and uses that contact to set a fowarding for that user. We are planning a big email server migration, and as part of the cut-over, we need to setup...
-
I've been given the task of importing multiple PST files into single Exchange 2007 mailbox. I can't see a option to import mail to a sub folder using the import-mailbox cmdlet. Is there a way of achieving what im after using powershell? Back ground information: We have a number of uses who are...
-
The Get-CasMailbox cmdlet in Exchange 2007 and 2010 will help here. Here are two possiblilities, one using the Identity Property, another using the DistinguishedName property Identity: Get-CasMailbox -Filter {ActiveSyncEnabled -eq $true} | Where-Object { $_.Identity -LIKE "example.com/Sales/*"...
-
I am wanting to write a script that queries the mount status of all databases and if the status is not mounted then email me. I am running the script below: $v_list = get-mailboxdatabase -status | select-object Server, StorageGroup, Mounted foreach ($objitem in $v_list){ IF ($_.Mounted = "False"...
-
Greetings: I am trying to import a CSV file with all of my Outlook contacts into the Active Directory in Exchange 2007 as contacts, utilizing the following script: _____________________________________________________________________________ Add-Content \\HLF-Server\Public\PSTs\debug.txt "::Starting...
-
Hi , Can someone help with an Exch 2007 PS script to format the result below to remove the shaded portion of ( domain.com/OU/OU USer Accounts/ ) and ( 12:16) from the managedby Attribute using the Get-DistributionGroup cmdlet in Exchange2007 Powershell : DisplayName OriginatingServer WhenCreated ManagedBy...
-
I have a requirement to create a text file containing Exchange Database information in the following format: Indentity:size Indentity:size so this would look like DBase01: 1234 Dbase02: 4321 I have a script the outputs the data in the format DBase01: 1234 Dbase02: 4321 I am a little stuck on how to do...
-
Hello team, I have a question of using an alternative to Exchange Event Scripting for Exchange 2010. We used to have some VB Scripts used for Event Scripting in Exchange 2007 which Exchange 2010 doesn't support (Event Scripting). Can Powershell be used an alternative to that or we have to use Exchange...