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
: 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:
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
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
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
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
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
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