| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi Is it possible and how to view how many users are created into first,second,third, etc.. storage group on Exchange 2007. I have 4 storage groups, each has about 100 users, but some of them have been deleted. Now I want to know, how many and which users are into store1,store2,store3,store4. How can this be done? Regards,Miha |
|
#2
| |||
| |||
| On Wed, 27 Aug 2008 08:53:08 +0200, "Miha" <miha.bernik@email.si> wrote: >Hi > >Is it possible and how to view how many users are created into >first,second,third, etc.. storage group on Exchange 2007. >I have 4 storage groups, each has about 100 users, but some of them have >been deleted. Now I want to know, how many and which users are into >store1,store2,store3,store4. How can this be done? >Regards,Miha > EMC filtering on datgabase or powershell. Something like: Get-MailboxDatabase -Identity "YourDatabaseIdentity" | Get-Mailbox |
|
#3
| |||
| |||
| On Wed, 27 Aug 2008 08:53:08 +0200, "Miha" <miha.bernik@email.si> wrote: >Hi > >Is it possible and how to view how many users are created into >first,second,third, etc.. storage group on Exchange 2007. >I have 4 storage groups, each has about 100 users, but some of them have >been deleted. Now I want to know, how many and which users are into >store1,store2,store3,store4. How can this be done? >Regards,Miha > EMC filtering on datgabase or powershell. Something like: Get-MailboxDatabase -Identity "YourDatabaseIdentity" | Get-Mailbox |
|
#4
| |||
| |||
| Hi Andy, thanks for a tip, but when I run "Get-MailboxDatabase -Identity "YourDatabaseIdentity" | Get-Mailbox" I get report like Name Alias ServerName ProhibitSendQuota ---- ----- ---------- ----------------- Administrator Administrator frodo unlimited but I want to know how many accounts are created in store1-store5? Any other tricks? What did you mean with EMC filtering on database? Regards,Miha "Andy David {MVP}" <adavid@pleasekeepinngcheesebucket.com> wrote in message news:c3oab4hl6ca5a5ea5mc7url2obn6fplbcv@4ax.com... > On Wed, 27 Aug 2008 08:53:08 +0200, "Miha" <miha.bernik@email.si> > wrote: > >>Hi >> >>Is it possible and how to view how many users are created into >>first,second,third, etc.. storage group on Exchange 2007. >>I have 4 storage groups, each has about 100 users, but some of them have >>been deleted. Now I want to know, how many and which users are into >>store1,store2,store3,store4. How can this be done? >>Regards,Miha >> > > > EMC filtering on datgabase or powershell. > Something like: > > > Get-MailboxDatabase -Identity "YourDatabaseIdentity" | Get-Mailbox > > > |
|
#5
| |||
| |||
| Hi Andy, thanks for a tip, but when I run "Get-MailboxDatabase -Identity "YourDatabaseIdentity" | Get-Mailbox" I get report like Name Alias ServerName ProhibitSendQuota ---- ----- ---------- ----------------- Administrator Administrator frodo unlimited but I want to know how many accounts are created in store1-store5? Any other tricks? What did you mean with EMC filtering on database? Regards,Miha "Andy David {MVP}" <adavid@pleasekeepinngcheesebucket.com> wrote in message news:c3oab4hl6ca5a5ea5mc7url2obn6fplbcv@4ax.com... > On Wed, 27 Aug 2008 08:53:08 +0200, "Miha" <miha.bernik@email.si> > wrote: > >>Hi >> >>Is it possible and how to view how many users are created into >>first,second,third, etc.. storage group on Exchange 2007. >>I have 4 storage groups, each has about 100 users, but some of them have >>been deleted. Now I want to know, how many and which users are into >>store1,store2,store3,store4. How can this be done? >>Regards,Miha >> > > > EMC filtering on datgabase or powershell. > Something like: > > > Get-MailboxDatabase -Identity "YourDatabaseIdentity" | Get-Mailbox > > > |
|
#6
| |||
| |||
| Maybe try something like: $userCount = 0 $userDatabase = Get-MailboxDatabase -Identity "Mailbox Database" | Get-Mailbox Foreach ($user in $userDatabase) { $userCount++ } Write-Host There are $userCount users I can write something for you later on today if you want it to automatically go through each mailbox database and gather counts on all users on each database if you really want. -- Elan Shudnow http://www.shudnow.net "Miha" <miha.bernik@email.si> wrote in message news:#FwvDKNCJHA.3396@TK2MSFTNGP03.phx.gbl: > Hi Andy, > > thanks for a tip, but when I run "Get-MailboxDatabase -Identity > "YourDatabaseIdentity" | Get-Mailbox" I get report like > > Name Alias ServerName ProhibitSendQuota > ---- ----- ---------- ----------------- > Administrator Administrator frodo unlimited > > but I want to know how many accounts are created in store1-store5? Any other > tricks? What did you mean with EMC filtering on database? > Regards,Miha > > "Andy David {MVP}" <adavid@pleasekeepinngcheesebucket.com> wrote in message > news:c3oab4hl6ca5a5ea5mc7url2obn6fplbcv@4ax.com... > > > On Wed, 27 Aug 2008 08:53:08 +0200, "Miha" <miha.bernik@email.si> > > wrote: > > > > >>Hi > >> > >>Is it possible and how to view how many users are created into > >>first,second,third, etc.. storage group on Exchange 2007. > >>I have 4 storage groups, each has about 100 users, but some of them have > >>been deleted. Now I want to know, how many and which users are into > >>store1,store2,store3,store4. How can this be done? > >>Regards,Miha > >> > > > > > > > EMC filtering on datgabase or powershell. > > Something like: > > > > > > Get-MailboxDatabase -Identity "YourDatabaseIdentity" | Get-Mailbox > > > > > > |
|
#7
| |||
| |||
| Maybe try something like: $userCount = 0 $userDatabase = Get-MailboxDatabase -Identity "Mailbox Database" | Get-Mailbox Foreach ($user in $userDatabase) { $userCount++ } Write-Host There are $userCount users I can write something for you later on today if you want it to automatically go through each mailbox database and gather counts on all users on each database if you really want. -- Elan Shudnow http://www.shudnow.net "Miha" <miha.bernik@email.si> wrote in message news:#FwvDKNCJHA.3396@TK2MSFTNGP03.phx.gbl: > Hi Andy, > > thanks for a tip, but when I run "Get-MailboxDatabase -Identity > "YourDatabaseIdentity" | Get-Mailbox" I get report like > > Name Alias ServerName ProhibitSendQuota > ---- ----- ---------- ----------------- > Administrator Administrator frodo unlimited > > but I want to know how many accounts are created in store1-store5? Any other > tricks? What did you mean with EMC filtering on database? > Regards,Miha > > "Andy David {MVP}" <adavid@pleasekeepinngcheesebucket.com> wrote in message > news:c3oab4hl6ca5a5ea5mc7url2obn6fplbcv@4ax.com... > > > On Wed, 27 Aug 2008 08:53:08 +0200, "Miha" <miha.bernik@email.si> > > wrote: > > > > >>Hi > >> > >>Is it possible and how to view how many users are created into > >>first,second,third, etc.. storage group on Exchange 2007. > >>I have 4 storage groups, each has about 100 users, but some of them have > >>been deleted. Now I want to know, how many and which users are into > >>store1,store2,store3,store4. How can this be done? > >>Regards,Miha > >> > > > > > > > EMC filtering on datgabase or powershell. > > Something like: > > > > > > Get-MailboxDatabase -Identity "YourDatabaseIdentity" | Get-Mailbox > > > > > > |
|
#8
| |||
| |||
| Thank you very much for your help. I have modified your script, so now it counts how many users are in each storage group like $userCount = 0 $userDatabase = Get-MailboxDatabase -StorageGroup "First storage group" | Get-Mailbox Foreach ($user in $userDatabase) { $userCount++ } Write-Host There are $userCount users in First storage group I want that it will also display which users are in that store, but can't figure it out how to? Regards,Miha "Elan Shudnow" <SubstituteThisWithMyFirstName@shudnow.net> wrote in message news:OSP83mQCJHA.4884@TK2MSFTNGP02.phx.gbl... > Maybe try something like: > > $userCount = 0 > $userDatabase = Get-MailboxDatabase -Identity "Mailbox Database" | > Get-Mailbox > Foreach ($user in $userDatabase) { > $userCount++ > } > Write-Host There are $userCount users > > I can write something for you later on today if you want it to > automatically go through each mailbox database and gather counts on all > users on each database if you really want. > > -- > Elan Shudnow > http://www.shudnow.net > > > > "Miha" <miha.bernik@email.si> wrote in message > news:#FwvDKNCJHA.3396@TK2MSFTNGP03.phx.gbl: > >> Hi Andy, >> >> thanks for a tip, but when I run "Get-MailboxDatabase -Identity >> "YourDatabaseIdentity" | Get-Mailbox" I get report like >> >> Name Alias ServerName ProhibitSendQuota >> ---- ----- ---------- ----------------- >> Administrator Administrator frodo unlimited >> >> but I want to know how many accounts are created in store1-store5? Any >> other >> tricks? What did you mean with EMC filtering on database? >> Regards,Miha >> >> "Andy David {MVP}" <adavid@pleasekeepinngcheesebucket.com> wrote in >> message >> news:c3oab4hl6ca5a5ea5mc7url2obn6fplbcv@4ax.com... >> >> > On Wed, 27 Aug 2008 08:53:08 +0200, "Miha" <miha.bernik@email.si> >> > wrote: >> > >> >> >>Hi >> >> >> >>Is it possible and how to view how many users are created into >> >>first,second,third, etc.. storage group on Exchange 2007. >> >>I have 4 storage groups, each has about 100 users, but some of them >> >>have >> >>been deleted. Now I want to know, how many and which users are into >> >>store1,store2,store3,store4. How can this be done? >> >>Regards,Miha >> >> >> > >> > >> >> > EMC filtering on datgabase or powershell. >> > Something like: >> > >> > >> > Get-MailboxDatabase -Identity "YourDatabaseIdentity" | Get-Mailbox >> > >> > >> > > |
|
#9
| |||
| |||
| Thank you very much for your help. I have modified your script, so now it counts how many users are in each storage group like $userCount = 0 $userDatabase = Get-MailboxDatabase -StorageGroup "First storage group" | Get-Mailbox Foreach ($user in $userDatabase) { $userCount++ } Write-Host There are $userCount users in First storage group I want that it will also display which users are in that store, but can't figure it out how to? Regards,Miha "Elan Shudnow" <SubstituteThisWithMyFirstName@shudnow.net> wrote in message news:OSP83mQCJHA.4884@TK2MSFTNGP02.phx.gbl... > Maybe try something like: > > $userCount = 0 > $userDatabase = Get-MailboxDatabase -Identity "Mailbox Database" | > Get-Mailbox > Foreach ($user in $userDatabase) { > $userCount++ > } > Write-Host There are $userCount users > > I can write something for you later on today if you want it to > automatically go through each mailbox database and gather counts on all > users on each database if you really want. > > -- > Elan Shudnow > http://www.shudnow.net > > > > "Miha" <miha.bernik@email.si> wrote in message > news:#FwvDKNCJHA.3396@TK2MSFTNGP03.phx.gbl: > >> Hi Andy, >> >> thanks for a tip, but when I run "Get-MailboxDatabase -Identity >> "YourDatabaseIdentity" | Get-Mailbox" I get report like >> >> Name Alias ServerName ProhibitSendQuota >> ---- ----- ---------- ----------------- >> Administrator Administrator frodo unlimited >> >> but I want to know how many accounts are created in store1-store5? Any >> other >> tricks? What did you mean with EMC filtering on database? >> Regards,Miha >> >> "Andy David {MVP}" <adavid@pleasekeepinngcheesebucket.com> wrote in >> message >> news:c3oab4hl6ca5a5ea5mc7url2obn6fplbcv@4ax.com... >> >> > On Wed, 27 Aug 2008 08:53:08 +0200, "Miha" <miha.bernik@email.si> >> > wrote: >> > >> >> >>Hi >> >> >> >>Is it possible and how to view how many users are created into >> >>first,second,third, etc.. storage group on Exchange 2007. >> >>I have 4 storage groups, each has about 100 users, but some of them >> >>have >> >>been deleted. Now I want to know, how many and which users are into >> >>store1,store2,store3,store4. How can this be done? >> >>Regards,Miha >> >> >> > >> > >> >> > EMC filtering on datgabase or powershell. >> > Something like: >> > >> > >> > Get-MailboxDatabase -Identity "YourDatabaseIdentity" | Get-Mailbox >> > >> > >> > > |
|
#10
| |||
| |||
| Sorry, no need for that, have figured it out. Thank you for you help and kindness. Regards,Miha "Miha" <miha.bernik@email.si> wrote in message news:Olz8C%23QCJHA.1628@TK2MSFTNGP02.phx.gbl... > Thank you very much for your help. I have modified your script, so now it > counts how many users are in each storage group like > > $userCount = 0 > $userDatabase = Get-MailboxDatabase -StorageGroup "First storage group" | > Get-Mailbox > Foreach ($user in $userDatabase) { > $userCount++ > } > Write-Host There are $userCount users in First storage group > > I want that it will also display which users are in that store, but can't > figure it out how to? > Regards,Miha > > "Elan Shudnow" <SubstituteThisWithMyFirstName@shudnow.net> wrote in > message news:OSP83mQCJHA.4884@TK2MSFTNGP02.phx.gbl... >> Maybe try something like: >> >> $userCount = 0 >> $userDatabase = Get-MailboxDatabase -Identity "Mailbox Database" | >> Get-Mailbox >> Foreach ($user in $userDatabase) { >> $userCount++ >> } >> Write-Host There are $userCount users >> >> I can write something for you later on today if you want it to >> automatically go through each mailbox database and gather counts on all >> users on each database if you really want. >> >> -- >> Elan Shudnow >> http://www.shudnow.net >> >> >> >> "Miha" <miha.bernik@email.si> wrote in message >> news:#FwvDKNCJHA.3396@TK2MSFTNGP03.phx.gbl: >> >>> Hi Andy, >>> >>> thanks for a tip, but when I run "Get-MailboxDatabase -Identity >>> "YourDatabaseIdentity" | Get-Mailbox" I get report like >>> >>> Name Alias ServerName >>> ProhibitSendQuota >>> ---- ----- ---------- ----------------- >>> Administrator Administrator frodo unlimited >>> >>> but I want to know how many accounts are created in store1-store5? Any >>> other >>> tricks? What did you mean with EMC filtering on database? >>> Regards,Miha >>> >>> "Andy David {MVP}" <adavid@pleasekeepinngcheesebucket.com> wrote in >>> message >>> news:c3oab4hl6ca5a5ea5mc7url2obn6fplbcv@4ax.com... >>> >>> > On Wed, 27 Aug 2008 08:53:08 +0200, "Miha" <miha.bernik@email.si> >>> > wrote: >>> > >>> >>> >>Hi >>> >> >>> >>Is it possible and how to view how many users are created into >>> >>first,second,third, etc.. storage group on Exchange 2007. >>> >>I have 4 storage groups, each has about 100 users, but some of them >>> >>have >>> >>been deleted. Now I want to know, how many and which users are into >>> >>store1,store2,store3,store4. How can this be done? >>> >>Regards,Miha >>> >> >>> > >>> > >>> >>> > EMC filtering on datgabase or powershell. >>> > Something like: >>> > >>> > >>> > Get-MailboxDatabase -Identity "YourDatabaseIdentity" | Get-Mailbox >>> > >>> > >>> > >> > > |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.