-
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...
-
Yes so I added the -append switch to the start-transcript. Also did a >> with get-eventlog so it would append that info to the info in the transcript. Problem is that it's throwing the error "unable to access the file as another person or process is all ready using it". So how would...
-
Ok so I was doing some further digging and realized that when a file in in use by start-transcript, that file appears to become locked from use by any other cmdlets. So what I did was this: start-transcript output file is C:\transcript.txt Run cmdlet, run test stop-transcript get-eventlog >> C...
-
Im trying to run the command test-outlookconnectivity -protocol:tcp or http -trustanysslcert:$true. I'm wanting to run it on a remote machine as if I were on the machine, and have the output returned to the screen of the local machine. As stated in this article: http://technet.microsoft.com/en-us...
Posted to
PowerShell for Exchange
(Forum)
by
jwhite
on
03-07-2012
Filed under: InvokeCommand, remoting, Exchange, script block, remote, powershell, exchange 2010, Powershell command:
-
I am trying to use the send-mailmessage cmdlet, but im runninng into a problem where I am getting a "Send-MailMessage : The remote certificate is invalid according to the validation procedure." error. I'm running the cmd like this: send-mailmessage -to <address> -from <address>...
-
We are in a hosted Exchange environment (Live@Edu). I'd like to script some multi-mailbox searches using powershell (and probably importing the "From:" addresses from a csv file). I gather either Search-Mailbox or New-MailboxSearch are used (New-MailboxSearch is asynchronous, and seems...
-
Team, I need help with a quick one hopefully someone can help i have a custom address in email address that is NUMERIC:000000 it is for voicemail. I am trying to remove the custom attribute from emc but to no evail the only thing i can remove are the SMTP address. Any one have any ideas on how to remove...
Posted to
PowerShell for Exchange
(Forum)
by
gelmera
on
07-29-2012
Filed under: Exchange, powershell, exchange 2010, how to remove domainname for one user from exchange server 2010, activedirectory
-
Hi All, I have a PS script that's working well in Exchange 2007, but doesn't in Exchange 2010. In 2010 I get the error that $Recipients.DistinguishedName is null. Anyone point me in the right direction to get this working? What the script does is checks all the mailbox folders of the Linked Mailboxes...
-
Hi, I'd like to know if it is possible to expand the triple dot to show all of the IP address neatly using powershell ? here's the command that I use: Get - ReceiveConnector | Select Name , RemoteIPRanges | ft - AutoSize Name RemoteIPRanges ---- -------------- Receive Connector { 10.2 . 1.10...
-
Hi, I'm trying to create a script that will check to see if a user in a list (text document) is on litigation hold, and if so print it out on the screen. Below is what I have : foreach ($alias in get-content C:\Windows\system32\scripts\testusers.txt) { Get-Mailbox -Identity $alias | fl LitigationHoldEnabled...
Posted to
PowerShell for Exchange
(Forum)
by
sahinboluk
on
05-07-2013
Filed under: Exchange, powershell, exchange 2010, Powershell command:, powershell command:scripts, exchange2010, Exchange 2003 to 2010