Help with powershell syntax

2009-01-14 Thread Rausch, Michael D
Ok, I am trying to get a report on the number of users we have that have not logged into their mailbox in X amount of days. So in my experimentation I was going for all users on a specific database that had no logged in since Jan 7: get-mailboxstatistics -database 'servername\storage group name

Re: Help with powershell syntax

2009-01-14 Thread John Cook
: Wed Jan 14 15:56:33 2009 Subject: Help with powershell syntax Ok, I am trying to get a report on the number of users we have that have not logged into their mailbox in X amount of days. So in my experimentation I was going for all users on a specific database that had no logged in since Jan 7:

RE: Help with powershell syntax

2009-01-14 Thread Robinson, Chuck
o:john.c...@pfsf.org] Sent: Wednesday, January 14, 2009 3:55 PM To: MS-Exchange Admin Issues Subject: Re: Help with powershell syntax You could pipe it to HTML, don't have access to it right now but Google is your friend. John W. Cook Systems Administrator Partnership For Strong Families Sent

RE: Help with powershell syntax

2009-01-14 Thread Rausch, Michael D
That did it! Thanks much! Mike -Original Message- From: Robinson, Chuck [mailto:chuck.robin...@emc.com] Sent: Wednesday, January 14, 2009 3:07 PM To: MS-Exchange Admin Issues Subject: RE: Help with powershell syntax I quite certain the ouput is an object, so you need to replace the

RE: Help with powershell syntax

2009-01-14 Thread Rausch, Michael D
Robinson, Chuck [mailto:chuck.robin...@emc.com] Sent: Wednesday, January 14, 2009 3:07 PM To: MS-Exchange Admin Issues Subject: RE: Help with powershell syntax I quite certain the ouput is an object, so you need to replace the | format table with a select statement. get-mailboxstatistics -database 'servernam

RE: Help with powershell syntax

2009-01-14 Thread Campbell, Rob
bxs){$mbx.department = $(get-user $mbx.distinguishedname).department} -Original Message- From: Rausch, Michael D [mailto:michael.rau...@nwa.com] Sent: Wednesday, January 14, 2009 3:57 PM To: MS-Exchange Admin Issues Subject: RE: Help with powershell syntax Ok, one more question. Get-ma

RE: Help with powershell syntax

2009-01-14 Thread Robinson, Chuck
ry 14, 2009 4:57 PM To: MS-Exchange Admin Issues Subject: RE: Help with powershell syntax Ok, one more question. Get-mailboxstatistics only pulls specific mailbox information (duh). Is there any way I can get other information into the table I am creating (like Alias, Department, etc) or will

RE: Help with powershell syntax

2009-01-14 Thread Campbell, Rob
riginal Message- From: Robinson, Chuck [mailto:chuck.robin...@emc.com] Sent: Wednesday, January 14, 2009 3:07 PM To: MS-Exchange Admin Issues Subject: RE: Help with powershell syntax I quite certain the ouput is an object, so you need to replace the | format table with a select statemen