-2
votes
1answer
31 views

how can i find information about all exchange server in the organization?

Power Shell command Get-mailbox gives details of all the mailboxes on the server by which i am running this command. For example, i have two exchange server in my organization named server1 and ...
1
vote
2answers
1k views

Cannot get Exchange PowerShell script to run under Scheduled Tasks

I have a PowerShell script that works when entered directly into the PowerShell. The PowerShell program is run with the shorcut: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe ...
0
votes
0answers
88 views

Exchange 2007 PowerShell - Run and email weekly report (.txt) automatically

I've found numerous codes online and have created the following to run a basic report on quotas and sizes of mailboxes on our SBS 2008 server (Exchange 2007): get-mailbox -server HYDROMAIN ...
1
vote
1answer
139 views

Scripting WINS Tombstone Removal

I'm creating a script to remove the tombstoned entries in WINS (required for exchange w/ multi domains). What I'd like to know is if removing those old entries will break anything? Or if there's ...
2
votes
2answers
169 views

Remove email addresses by policy

Is there any elegant way to remove email addresses from users using automation, Powershell or Exchange Email Address Policies? The platform in question is Exchange 2007. I would like to modify email ...
2
votes
1answer
974 views

Give AD Security Group Exchange Full Access Permission

My company is running Exchange 2007. From time to time, we need to open a user's Mailbox to to various tasks. Until now, we've been logging is as them and using Outlook directly. I'd like to give Full ...
2
votes
1answer
89 views

New-ActiveSyncMailboxPolicy “not implemented” on Exchange 2007 SP3

If I try to run: New-ActiveSyncMailboxPolicy Test directly in the Powershell, it asks me if im sure, and if so, it does what it should. But if I try the same from my example Code in C#, then I get ...
0
votes
1answer
453 views

Does the powershell cmdlet add to or replace out-of-office settings in Exchange 2007?

When using Powershell to set Out-of-Office in Exchange 2007 (e.g.), do multiple commands containing -StartTime and -EndTime add to some internal list that Exchange maintains or does each successive ...
2
votes
1answer
797 views

Exchange 2007 Mailbox Cleanup - Exporting Mailboxes Script

I have been assigned a task to cleanup our Exchange server by exporting the mailboxes of users who have left the company. We want to keep a copy of the mailbox for 90 days, just in case HR or ...
1
vote
2answers
3k views

Exchange 2007 - How to use export-mailbox function?

I am trying to use the Export-Mailbox cmdlet to export a mailbox to PST file but i get an error that i'm running on a 64bit machine and must use a 32 bit etc etc.. I have a Windows 7 Pro 32bit PC ...
1
vote
1answer
2k views

what is the meaning of the parameter -mailboxcredential?

I am writing regarding the Exchange powershell commands. When I want to use following cmdlets, I have to insert parameter -mailboxcredential Test-OwaConnectivity Test-OutlookWebServices ...
0
votes
2answers
4k views

Getting users from dynamic distribution group Exchange 2007/2010

I've found article at Microsoft claiming that this powershell query would give me a list of users in a dynamic distribution group that is defined more or less like this: The code to list: ...
3
votes
1answer
2k views

Using Powershell to archive mailboxes before certain date

We have a separate archiving appliance that archives messages as they come in using a journal account. Before this I would have to manually archive each mailbox to a PST file and then store the file ...
1
vote
1answer
932 views

How do you list users in Exchange Powershell on an Exchange 2007 environment?

I'm trying to verify that I've added a user in our Domain to a shared mailbox. I've used the command in the exchange powershell console: add-mailboxpermission 'shared mailbox name here' -User: ...
1
vote
1answer
464 views

Get-ExchangeCertificate: “The requested key container was not found”

I'm having some certificate issues with my Exchange 2007 server. I only know how to check the certificate information using cmdlets, however I have a limited scope on being able to use them. When I ...
0
votes
1answer
306 views

Query Exchange 2007 remotely for a user(s) mailbox size, and quota

Currently I'm using this powershell command on the server in the Exchange Management Shell: Get-MailboxStatistics username | where {$_.ObjectClass –eq “Mailbox”} | Sort-Object TotalItemSize ...
-1
votes
2answers
2k views

Backup script powershell… how would you do it?

Below my backup script, i would like to have some comments, tips and suggestions about it. It has become a pretty large and multifunctional script, it´s not my first but i´m looking for ways to ...
1
vote
1answer
4k views

How to add a to the description field in ADUC using Powershell/Exchange Management Shell?

This is my first attempt at Powershell so bear with me if I have overlooked something simple. I've spent several days digging around online and have yet to come up with a good answer as to how to go ...
5
votes
3answers
1k views

PowerShell script to find meeting requests in Exchange mailbox and accept them

Is it possible to create a PowerShell script that will go into a mailbox (specifically for a meeting room), find all it's meeting requests and accept them? We've implemented a new mechanism in our ...
1
vote
1answer
245 views

How do I test Exchange 2010 from a remote, untrusted domain?

I would like to test my Exchange 2010 service from a remote untrusted domain, in an automated script. That means I need to create client credentials and save them, and I can't follow traditional ...
2
votes
3answers
858 views

Exchange deferred delivery: update message “Date:” header

A client is using the "deferred delivery" feature in Outlook / Exchange. For some reason this feature does preserve the original message creation time (i.e. when the user has hit the "send" button) as ...
13
votes
5answers
45k views

Need to add a “Wait” command to a Powershell script

Here is my current code: Write-output “ENTER THE FOLLOWING DETAILS - When Creating Multiple New Accounts Go to EMC hit F5(refresh) and make sure previous new account is listed before ...
0
votes
3answers
4k views

Retrieve a user's Exchange database in powershell

I've scoured the interwebs for a few days now off and on to find this. I am creating a powershell script for email-enabling new user's(Exchange 2007). To give you a little background when we have a ...
1
vote
1answer
540 views

Exchange Server 2007 message tracking log tuning?

what is the best practice if I want to have a retention of let say 6 months ? I'm confused which parameter that is should/can be changes. Get-ExchangeServer | where {$_.isHubTransportServer -eq ...
0
votes
1answer
655 views

opath syntax to force dynamic distribution group field as numerical comparison? (Exchange 2010)

I'm upgrading a (working) query based group (Exchange 2003) to a new and 'improved' dynamic distribution group (2010). For better or worse, our company decided to store everyone's employee ID in the ...
2
votes
1answer
3k views

Export Exchange public folder to PST from PowerShell

Is there a PowerShell cmdlet to export the contents of the public folder from Exchange 2007 into a PST on the network? I've got about 100 public folders that need archiving to different places on the ...
1
vote
1answer
2k views

Resetting a user's mailbox (Powershell?)

We have a class/lab environment where the need arises to completely reset a user's mailbox, i.e. delete all mails, calendar items, ... and preferably do this via a script, whether it be in wsh or ...
2
votes
2answers
431 views

Export-Mailbox - fails with large folders

I am trying to move messages from a rather large mailbox to an archive mailbox. However I run into errors all the time. the command I am executing is Export-Mailbox -Identity MAILBOX_FROM ...
1
vote
2answers
2k views

Using Export-Mailbox without including subfolders

I want to delete a certain group of messages from somebody's mailbox. I already have the basic Powershell command ready to go: Get-Mailbox -Identity jshmoe | Export-Mailbox -SubjectKeywords ...
1
vote
3answers
3k views

How do I increase maximum attachment size in Exchange 2007 SP1?

I've been looking all over for a relatively simple answer to a fairly straightforward question: "how do I increase the maximum size of attachments that can be sent and/or received in Exchange 2007?". ...
1
vote
1answer
642 views

There a easy way to move/change a public folder structure exchange server 2007?

I looking to see if anyone has had any experience with restructuring a public folder tree that basically requires the movement of a public folder from one subfolder to another. I figure that we would ...
2
votes
2answers
1k views

Remote Powershell in Exchange 2007

Im wondering if it's posible to use Powershell from a remote computer (without installing Exchange manegment tools on the remote computer) to create or list user mailboxes. And if so, how?
0
votes
3answers
3k views

Powershell commands for Distribution Lists in Public Folders

How can I add and remove members to a distribution list in a public folder through PowerShell? This is for Exchange 2007.
1
vote
2answers
281 views

Is there a way to combine or concatenate the queues for Exchange 2007?

Say I use Get-Queue -Server HT1 to pull up the queue on server transport1. It outputs something like this: Identity DeliveryType Status MessageCount NextHopDomain -------- ------------ ...
1
vote
2answers
1k views

How do I restrict sending to a distribution group to an external address?

The AcceptMessagesOnlyFrom parameter takes only a RecipientIdParameter[], which means it's got to be an AD Object. So, I tried creating a Contact Object with the external address specified, but ...
0
votes
2answers
1k views

Add Scheduled Task to reset search indexes for Exchange 2007

I simply want to run a ResetSearchIndex -force on a schedule. What is the correct usage for the command in the Scheduled Task properties? It seems I would first need to start Powershell, then load ...
1
vote
4answers
2k views

How do you get Exchange 2007 PowerShell commands for property changes?

When you perform certain operations in the Exchange Management Console GUI a window appears showing the PowerShell command that was executed to perform the operation. This is useful for learning how ...