RE: Powershell output to email

2009-01-07 Thread Greg Mulholland
You are da man..and I will be buying it when its available. Dats fur sure! From: Michael B. Smith [mailto:mich...@theessentialexchange.com] Sent: Thursday, 8 January 2009 2:11 PM To: MS-Exchange Admin Issues Subject: RE: Powershell output to email I cover this topic, in detail, in my upcoming boo

RE: Powershell output to email

2009-01-07 Thread Campbell, Rob
$msg = new-object system.net.mailmessage $msg.body = $scriptoutput Sent from my GoodLink synchronized handheld (www.good.com) -Original Message- From: Greg Mulholland [mailto:g...@krystaltek.com] Sent: Wednesday, January 07, 2009 08:57 PM Central Standard Time To: MS-Exchange Ad

RE: Powershell output to email

2009-01-07 Thread Michael B. Smith
I cover this topic, in detail, in my upcoming book: http://snurl.com/45ppf Short answer, pass the string as $Body to this routine: #- start file - #send-mail.ps1 param ([string]$SMTPserver = "192.168.100.10", [string]$SMTPport = "25",

Powershell output to email

2009-01-07 Thread Greg Mulholland
I am writing some exchange housekeeping scripts and would like the output of the script to be emailed to me. I can do this via |out-file and using System.Net.Mail.MailMessage to send the attachment that is generated. But.. what I really would like is the info to be displayed as the body of the e

Re: Powershell Get-Eventlog on remote server?

2009-01-07 Thread Eric Woodford
Powershell + LogParser. http://blogs.technet.com/mscom/archive/2007/10/01/power-parsing-some-days-you-just-need-more-power-for-your-parser.aspx On Wed, Jan 7, 2009 at 4:48 PM, Wall, Murray wrote: > Point 1, this is what I do for a white space for a event log for a 24 > hour period on a Remote

RE: Powershell Get-Eventlog on remote server?

2009-01-07 Thread Wall, Murray
Point 1, this is what I do for a white space for a event log for a 24 hour period on a Remote '03 server with a little mailout jazz $log = new-object system.diagnostics.eventlog("application","ServerName") $a = "" $a = $a + "BODY{background-color:White;}" $a = $a + "TABLE{border-width: 1p

RE: Exchange 2007 Auto-Forward of emails

2009-01-07 Thread McCready, Robert
You are exactly correct sir. Thanks! From: Campbell, Rob [mailto:rob_campb...@centraltechnology.net] Sent: Wednesday, January 07, 2009 5:15 PM To: MS-Exchange Admin Issues Subject: RE: Exchange 2007 Auto-Forward of emails I had the same thing come up recently. I

RE: Exchange 2007 Auto-Forward of emails

2009-01-07 Thread McCready, Robert
I thought the same thing. From: Campbell, Rob [mailto:rob_campb...@centraltechnology.net] Sent: Wednesday, January 07, 2009 5:28 PM To: MS-Exchange Admin Issues Subject: RE: Exchange 2007 Auto-Forward of emails That's what I've got. It looks like the options for

RE: Exchange 2007 Auto-Forward of emails

2009-01-07 Thread Campbell, Rob
That's what I've got. It looks like the options for allowing automatic replies and forwards are on the second tab, with seems very badly labeled. From: McCready, Robert [mailto:rob.mccrea...@dplinc.com] Sent: Wednesday, January 07, 2009 4:15 PM To: MS-Exchange Ad

RE: Exchange 2007 Auto-Forward of emails

2009-01-07 Thread McCready, Robert
Yeah, I heard somebody talking about another tab, but all I see under Organization Configuration Hub Transport Remote Domains Tab Default (right click properties) Is a GENERAL tab and a Format of original message sent as attachment to journal report: tab. Is that what everybody else has? _

RE: Exchange 2007 Auto-Forward of emails

2009-01-07 Thread Campbell, Rob
I had the same thing come up recently. It seems that Exchange 2007 will notify the organizer of a meeting if any of the recipients forwards it to someone else. If you forward it to an external address this notification will get generated even if the organization policies don't allow the email

Re: Exchange 2007 Auto-Forward of emails

2009-01-07 Thread Alex Fontana
Someone please correct me if I'm wrong, but I believe the mailbox server generates this message, not the hub transport. The message will be squashed at the hub transport. Simple thing to do is to auto-forward to a mailbox you can check and check it... -alex On Wed, Jan 7, 2009 at 2:04 PM, McCre

Re: Exchange 2007 Auto-Forward of emails

2009-01-07 Thread Eric Woodford
Yes it is possible. That sounds like the right setting, not sure about "journal report" option. Make sure you touch all your relay servers that can go to the Internet. On Wed, Jan 7, 2009 at 2:04 PM, McCready, Robert wrote: > I'm wondering if it's possible to prevent all auto-forwards of emails

Exchange 2007 Auto-Forward of emails

2009-01-07 Thread McCready, Robert
I'm wondering if it's possible to prevent all auto-forwards of emails outside the company. If I open the Exchange 2007 Management Console, and go to Organization Configuration - Hub Transport, then right click the Default, select Properties and click on the "Format of original message sent as

RE: Exchange 2000 to Exchange 2007

2009-01-07 Thread Michael B. Smith
This is what you are talking about: http://msdn.microsoft.com/en-us/library/ms808546.aspx It may not apply. Read the entire article. Regards, Michael B. Smith, MCITP:SA,EMA/MCSE/Exchange MVP My blog: http://TheEssentialExchange.com/blogs/michael I'll be at TEC'2009! http://www.tec2009.com/vegas

Exchange 2000 to Exchange 2007

2009-01-07 Thread Steve Hart
I'm about to roll out E2007 in a E2000 environment and it's been a while since I've done this. I seem to rmember a KB article where I had to run some quick process to fix something in 2003 AD before I installed Exchange. Does anyone have that article number handy? ~ Ninja Email Security

OT: Wednesday Funny

2009-01-07 Thread Michael B. Smith
BWAHAhahahahahah http://www.flixxy.com/computer-history-ctrl-alt-del.htm Regards, Michael B. Smith, MCITP:SA,EMA/MCSE/Exchange MVP My blog: http://TheEssentialExchange.com/blogs/michael I'll be at TEC'2009! http://www.tec2009.com/vegas/index.php ~ Ninja Email Security with Cloudm

RE: Deligate in Outlook is not set.

2009-01-07 Thread Dahl, Peter
Yes, this should help. http://support.microsoft.com/kb/909638 Thanks, Peter Dahl. From: Paul Cookman [mailto:paul.cook...@selection.co.uk] Sent: Wednesday, January 07, 2009 11:58 AM To: MS-Exchange Admin Issues Subject: Deligate in Outlook is not set. After the migration to 2007 and the 200

RE: How to collect pst size from individual users and dump to report?

2009-01-07 Thread Campbell, Rob
Then if you had all the .txt files in a directory, you could use $files =gci *.txt Foreach ($file in $files){ $user = $($file.name).split(".")[0] $bytes = get-content $file $outstr = $user + "," + $bytes Add-content pstsize.csv $outstr } If you only had the 1 .txt file, the output file would ha

Deligate in Outlook is not set.

2009-01-07 Thread Paul Cookman
After the migration to 2007 and the 2003 servers are now redundant and off. I have one user that when sent a meeting request, the sender gets back an error of imceaex-_o=exchange+20organisation_ou=first+20administrative+20group_cn=recipients_cn=smcclin...@selection.co.uk

RE: How to collect pst size from individual users and dump to report?

2009-01-07 Thread Tyler Lyon
The contents of the file has the file size of the pst. For example, "tlyon.txt" has 2124360704 when you open it. Please let me know if you have any questions. Thank you, Tyler Lyon tl...@sctelcofcu.org IT Technician II SC Telco FCU www.sctelcofcu.org 864.232.558

RE: How to collect pst size from individual users and dump to report?

2009-01-07 Thread Ellis, John P.
I have used an exe file that runs in the logon script as each user logs in, the size of the PST file for that user and then dumps it to a txt file. Then I use a VBS file to import the results into a CSV file If you want a copy i can email it to you. Thanks John ___

RE: How to collect pst size from individual users and dump to report?

2009-01-07 Thread Campbell, Rob
It would help to know exactly what the text file data looks like. I'm sure there's lots of ways to do what you're after. Personally I'd use PS, but that's just because it's what know. From: Tyler Lyon [mailto:tl...@sctelcofcu.org] Sent: Wednesday, January 07,

RE: How to collect pst size from individual users and dump to report?

2009-01-07 Thread Tyler Lyon
I have multiple txt files all with the username. Jdoe.txt, jsmith.txt, etc. I am trying to append them to one csv or txt file format. The copy + command would append them but it is random on how many txt files are created and the. Also that would only append the contents of the text file not inc

Re: How to collect pst size from individual users and dump to report?

2009-01-07 Thread Jonathan Link
With limited information comes limited advice based on the reader's assumptions. :-) On Wed, Jan 7, 2009 at 10:42 AM, Campbell, Rob < rob_campb...@centraltechnology.net> wrote: > Assuming that the input files are in .csv format to start with. > > > -- > > *From:*

RE: Designating Security on XCNG 2007 mailbox store by Security Group

2009-01-07 Thread Ellis, John P.
I have used an exe file that runs in the logon script as each user logs in, the size of the PST file for that user and then dumps it to a txt file. Then I use a VBS file to import the results into a CSV file If you want a copy i can email it to you. Thanks John _

RE: Outlook 2003 issue when clicking link

2009-01-07 Thread Sascha Riela
Hi Steve thx. We have IE7. I will check the settings. From: Steve Szabo [mailto:steve...@gmail.com] Sent: 07 January 2009 12:13 To: MS-Exchange Admin Issues Subject: RE: Outlook 2003 issue when clicking link Which version of IE? IE 7 has tabs and there is a setting that will allow links from ext

RE: How to collect pst size from individual users and dump to report?

2009-01-07 Thread Campbell, Rob
Assuming that the input files are in .csv format to start with. From: Jonathan Link [mailto:jonathan.l...@gmail.com] Sent: Wednesday, January 07, 2009 9:39 AM To: MS-Exchange Admin Issues Subject: Re: How to collect pst size from individual users and du

Re: How to collect pst size from individual users and dump to report?

2009-01-07 Thread Jonathan Link
This may have a few steps, but it's what I'm comfortable with. >From a command prompt with the collected files: dir /b >files.txt for /f %f in (files.txt) do type %f >> pstfiles.csv The first line creates the bare directory listing The second line dumps all the files into one file, a file at a ti

RE: Designating Security on XCNG 2007 mailbox store by Security Group

2009-01-07 Thread Michael B. Smith
Sure, but you'll be writing a small script to do it. Steps: 1] input group names (script parameter or file or pipe) 2] input store names (script parameter or file or pipe) 3] foreach (group) { foreach (store) { add-adpermission } } Rega

How to collect pst size from individual users and dump to report?

2009-01-07 Thread Tyler Lyon
We are trying to collect data before we move to Exchange. I am trying to figure out how large each user's pst file is so we know how to approach the move to Exchange. The current server is a 3rd party pop 3 server and the pst files are stored on individual machines. I found a program called Get

Designating Security on XCNG 2007 mailbox store by Security Group

2009-01-07 Thread Nikki Peterson - OETX
I need to be able to delegate security on specific mailbox stores by security groups. I need to be able to do the following: - Be able to assign a security group ALL but full control rights to the mailboxes within the database. o This is required for the LAN managers to be able to a

RE: Powershell Get-Eventlog on remote server?

2009-01-07 Thread Michael B. Smith
[1] like Rob said - WMI. If you need sample code, let us know. A quick google should provide it to you. [2] do NOT change the version of PowerShell on the Exchange server itself. But it's ok to do so on your workstation. Regards, Michael B. Smith, MCITP:SA,EMA/MCSE/Exchange MVP My blo

RE: Powershell Get-Eventlog on remote server?

2009-01-07 Thread Campbell, Rob
I don't think I've used export-mailbox, but I've created mailboxes, pulled stats and user information, checked queues, set email address, and all kinds of other things from EMS since installing CTP3 and haven't had any problems. From: Leedy, Andy [mailto:ale...@

RE: Powershell Get-Eventlog on remote server?

2009-01-07 Thread Leedy, Andy
I would rather use CTP3. I was going to install it on my workstation but I wanted to ensure commands like Export-Mailbox (which I use on my workstation) will still work after installing CTP3. Thanks, Andy From: Campbell, Rob [mailto:rob_campb...@centraltechnology.net] Sent: Wednesday, January 0

RE: Powershell Get-Eventlog on remote server?

2009-01-07 Thread Campbell, Rob
I believe you can get event log entries from remote servers with V1 via WMI. I'm running CTP3 on my workstation along with EMS, and haven't noticed any problems. From: Leedy, Andy [mailto:ale...@butlerahs.com] Sent: Wednesday, January 07, 2009 8:11 AM To: MS-Exch

Powershell Get-Eventlog on remote server?

2009-01-07 Thread Leedy, Andy
I have 2 questions. 1) Get-Eventlog -Computername is available in Powershell 2 CTP 3, but not in Powershell v1. Is there a way get the event logs of a remote server using Powershell v1? 2) I thought about installing Powershell v2 CTP 3 , but I'm not sure if it will mess my Exchang

RE: Outlook 2003 issue when clicking link

2009-01-07 Thread Steve Szabo
Which version of IE? IE 7 has tabs and there is a setting that will allow links from external programs to open in new tabs. Otherwise, you are seeing behavior as designed. \\Steve// From: Sascha Riela [mailto:ri...@harcourt.ch] Sent: Wednesday, January 07, 2009 5:22 AM To: MS-Exchange Adm

Outlook 2003 issue when clicking link

2009-01-07 Thread Sascha Riela
Hi all, i have a user who is having a problem when opening a internet page link in mails. When he has open some iE windows (2) and he click on a link in mail messages it over rights the opened page, instate to open an additional iE window. Is this only a setting on outlook 2003 ? does somebody