| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#11
| |||
| |||
| 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 >>> > >>> > >>> > >> > > |
|
#12
| |||
| |||
| On Thu, 28 Aug 2008 15:11:00 +0200, "Miha" <miha.bernik@email.si> wrote: >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? In EMC you can choose to filter. THere is a pulldown menu under the Mailbox container. Then Apply Filter. >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 >>> > >>> > >>> > >> > |
|
#13
| |||
| |||
| On Thu, 28 Aug 2008 15:11:00 +0200, "Miha" <miha.bernik@email.si> wrote: >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? In EMC you can choose to filter. THere is a pulldown menu under the Mailbox container. Then Apply Filter. >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 >>> > >>> > >>> > >> > |
|
#14
| |||
| |||
| Andy thanks again for help. I didn't know that this could be done through EMC fitler settings. Regards,Miha "Andy David {MVP}" <adavid@pleasekeepinngcheesebucket.com> wrote in message news:n39db4d6nvgsqan3ei7uuado4b1j62ebru@4ax.com... > On Thu, 28 Aug 2008 15:11:00 +0200, "Miha" <miha.bernik@email.si> > wrote: > >>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? > > In EMC you can choose to filter. THere is a pulldown menu under the > Mailbox container. Then Apply Filter. > > >>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 >>>> > >>>> > >>>> > >>> >> |
|
#15
| |||
| |||
| Andy thanks again for help. I didn't know that this could be done through EMC fitler settings. Regards,Miha "Andy David {MVP}" <adavid@pleasekeepinngcheesebucket.com> wrote in message news:n39db4d6nvgsqan3ei7uuado4b1j62ebru@4ax.com... > On Thu, 28 Aug 2008 15:11:00 +0200, "Miha" <miha.bernik@email.si> > wrote: > >>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? > > In EMC you can choose to filter. THere is a pulldown menu under the > Mailbox container. Then Apply Filter. > > >>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 >>>> > >>>> > >>>> > >>> >> |
|
#16
| |||
| |||
| Can you please post how you did this? I'm needing to display which users or in a store as well. Thanks in advance "Miha" wrote: > 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 > >>> > > >>> > > >>> > > >> > > > > > > > |
|
#17
| |||
| |||
| Can you please post how you did this? I'm needing to display which users or in a store as well. Thanks in advance "Miha" wrote: > 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.