Re: Running PowerShell commands on my remote Admin box

2009-04-30 Thread Rob Bonfiglio
-Server

http://technet.microsoft.com/en-us/library/bb124612.aspx

On Thu, Apr 30, 2009 at 9:43 AM, Stefan Jafs sj...@amico.com wrote:

  Ok, so I installed the Exchange Management Console for E2k7 on my re-bit
 Vista PC.

 I run a export to pst yesterday in the Exchange Powershell on my PC no
 problem, no I’m trying to get mailbox stats:



 Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft
 DisplayName,@{label=TotalItemSize(MB);expression={$_.TotalItemSize.Value.ToMB()}},ItemCount



 However it’s telling me I’m not a  Exchange server, please specify the name
 of a Mailbox server! Should it not know that automatically?

 Anyhow how do I point to my mail server?



 Thanks



 *___*

 *Stefan Jafs*



 This email and any attached files are confidential and intended solely for
 the intended recipient(s). If you are not the named recipient you should not
 read, distribute, copy or alter this email. Any views or opinions expressed
 in this email are those of the author and do not represent those of the
 Amico Corpoartion company. Warning: Although precautions have been taken to
 make sure no viruses are present in this email, the company cannot accept
 responsibility for any loss or damage that arise from the use of this email
 or attachments.




~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~
~ http://www.sunbeltsoftware.com/Ninja~

RE: Running PowerShell commands on my remote Admin box

2009-04-30 Thread Campbell, Rob
Granted, it's probably intuitive to you especially if you only have one mailbox 
server, but the cmdlet doesn't know that.


From: Rob Bonfiglio [mailto:robbonfig...@gmail.com]
Sent: Thursday, April 30, 2009 8:54 AM
To: MS-Exchange Admin Issues
Subject: Re: Running PowerShell commands on my remote Admin box

-Server

http://technet.microsoft.com/en-us/library/bb124612.aspx
On Thu, Apr 30, 2009 at 9:43 AM, Stefan Jafs 
sj...@amico.commailto:sj...@amico.com wrote:

Ok, so I installed the Exchange Management Console for E2k7 on my re-bit Vista 
PC.

I run a export to pst yesterday in the Exchange Powershell on my PC no problem, 
no I'm trying to get mailbox stats:



Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft 
DisplayName,@{label=TotalItemSize(MB);expression={$_.TotalItemSize.Value.ToMB()}},ItemCount



However it's telling me I'm not a  Exchange server, please specify the name of 
a Mailbox server! Should it not know that automatically?

Anyhow how do I point to my mail server?



Thanks



___

Stefan Jafs



This email and any attached files are confidential and intended solely for the 
intended recipient(s). If you are not the named recipient you should not read, 
distribute, copy or alter this email. Any views or opinions expressed in this 
email are those of the author and do not represent those of the Amico 
Corpoartion company. Warning: Although precautions have been taken to make sure 
no viruses are present in this email, the company cannot accept responsibility 
for any loss or damage that arise from the use of this email or attachments.





**
Note: 
The information contained in this message may be privileged and confidential 
and 
protected from disclosure.  If the reader of this message is not the intended  
recipient, or an employee or agent responsible for delivering this message to  
the intended recipient, you are hereby notified that any dissemination,   
distribution or copying of this communication is strictly prohibited. If you  
have received this communication in error, please notify us immediately by  
replying to the message and deleting it from your computer. 
**

~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~
~ http://www.sunbeltsoftware.com/Ninja~

RE: Running PowerShell commands on my remote Admin box

2009-04-30 Thread Stefan Jafs
Thanks, you are correct, I only have 1 Mail server with 1 database! Thanks for 
the link. I'm assuming too much!

___
Stefan Jafs

From: Campbell, Rob [mailto:rob_campb...@centraltechnology.net]
Sent: Thursday, April 30, 2009 9:59 AM
To: MS-Exchange Admin Issues
Subject: RE: Running PowerShell commands on my remote Admin box

Granted, it's probably intuitive to you especially if you only have one mailbox 
server, but the cmdlet doesn't know that.


From: Rob Bonfiglio [mailto:robbonfig...@gmail.com]
Sent: Thursday, April 30, 2009 8:54 AM
To: MS-Exchange Admin Issues
Subject: Re: Running PowerShell commands on my remote Admin box

-Server

http://technet.microsoft.com/en-us/library/bb124612.aspx
On Thu, Apr 30, 2009 at 9:43 AM, Stefan Jafs 
sj...@amico.commailto:sj...@amico.com wrote:

Ok, so I installed the Exchange Management Console for E2k7 on my re-bit Vista 
PC.

I run a export to pst yesterday in the Exchange Powershell on my PC no problem, 
no I'm trying to get mailbox stats:



Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft 
DisplayName,@{label=TotalItemSize(MB);expression={$_.TotalItemSize.Value.ToMB()}},ItemCount



However it's telling me I'm not a  Exchange server, please specify the name of 
a Mailbox server! Should it not know that automatically?

Anyhow how do I point to my mail server?



Thanks



___

Stefan Jafs



This email and any attached files are confidential and intended solely for the 
intended recipient(s). If you are not the named recipient you should not read, 
distribute, copy or alter this email. Any views or opinions expressed in this 
email are those of the author and do not represent those of the Amico 
Corpoartion company. Warning: Although precautions have been taken to make sure 
no viruses are present in this email, the company cannot accept responsibility 
for any loss or damage that arise from the use of this email or attachments.






**

Note:

The information contained in this message may be privileged and confidential and

protected from disclosure.  If the reader of this message is not the intended

recipient, or an employee or agent responsible for delivering this message to

the intended recipient, you are hereby notified that any dissemination,

distribution or copying of this communication is strictly prohibited. If you

have received this communication in error, please notify us immediately by

replying to the message and deleting it from your computer.

**



This email and any attached files are confidential and intended solely for the 
intended recipient(s). If you are not the named recipient you should not read, 
distribute, copy or alter this email. Any views or opinions expressed in this 
email are those of the author and do not represent those of the Amico 
Corpoartion company. Warning: Although precautions have been taken to make sure 
no viruses are present in this email, the company cannot accept responsibility 
for any loss or damage that arise from the use of this email or attachments.

~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~
~ http://www.sunbeltsoftware.com/Ninja~

RE: Running PowerShell commands on my remote Admin box

2009-04-30 Thread Stefan Jafs
Thanks added the server name and it works,

___
Stefan Jafs

From: Rob Bonfiglio [mailto:robbonfig...@gmail.com]
Sent: Thursday, April 30, 2009 9:54 AM
To: MS-Exchange Admin Issues
Subject: Re: Running PowerShell commands on my remote Admin box

-Server

http://technet.microsoft.com/en-us/library/bb124612.aspx
On Thu, Apr 30, 2009 at 9:43 AM, Stefan Jafs 
sj...@amico.commailto:sj...@amico.com wrote:

Ok, so I installed the Exchange Management Console for E2k7 on my re-bit Vista 
PC.

I run a export to pst yesterday in the Exchange Powershell on my PC no problem, 
no I'm trying to get mailbox stats:



Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft 
DisplayName,@{label=TotalItemSize(MB);expression={$_.TotalItemSize.Value.ToMB()}},ItemCount



However it's telling me I'm not a  Exchange server, please specify the name of 
a Mailbox server! Should it not know that automatically?

Anyhow how do I point to my mail server?



Thanks



___

Stefan Jafs



This email and any attached files are confidential and intended solely for the 
intended recipient(s). If you are not the named recipient you should not read, 
distribute, copy or alter this email. Any views or opinions expressed in this 
email are those of the author and do not represent those of the Amico 
Corpoartion company. Warning: Although precautions have been taken to make sure 
no viruses are present in this email, the company cannot accept responsibility 
for any loss or damage that arise from the use of this email or attachments.






This email and any attached files are confidential and intended solely for the 
intended recipient(s). If you are not the named recipient you should not read, 
distribute, copy or alter this email. Any views or opinions expressed in this 
email are those of the author and do not represent those of the Amico 
Corpoartion company. Warning: Although precautions have been taken to make sure 
no viruses are present in this email, the company cannot accept responsibility 
for any loss or damage that arise from the use of this email or attachments.

~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~
~ http://www.sunbeltsoftware.com/Ninja~