Question : SCR Exchange 2007 Error

Hello Experts,

I am getting this error message when i tried to run the command for the SCR:

         Welcome to the Exchange Management Shell!

 Full list of cmdlets:          get-command
 Only Exchange cmdlets:         get-excommand
 Cmdlets for a specific role:   get-help -role *UM* or *Mailbox*
 Get general help:              help
 Get help for a cmdlet:         help <cmdlet-name> or <cmdlet-name> -?
 Show quick reference guide:    quickref
 Exchange team blog:            get-exblog
 Show full output for a cmd:    <cmd> | format-list

Tip of the day #40:

To set the dial restrictions on a specific Unified Messaging dial plan, type:

 $Dp = Get-UmDialPlan -Identity <Your_DialPlan_Identity>
 $Dp.ConfiguredInCountryGroups.Add("Group1,91xxxxxxxxxx,91xxxxxxxxxx")
 $Dp.ConfiguredInCountryGroups.Add("Group1,9xxxxxxxxxx,91xxxxxxxxxx")
 $Dp.ConfiguredInCountryGroups.Add("Group1,9xxxxxxx,9xxxxxxx")
 $Dp.AllowedInCountryGroups.Add("Group1")
 $Dp.OutsideLineAccessCode = 9
 $Dp | Set-UmDialPlan

[PS] C:\Windows\System32>get-mailbox -status
Get-Mailbox : A parameter cannot be found that matches parameter name 'status'.
At line:1 char:19
+ get-mailbox -status <<<<
[PS] C:\Windows\System32>get-mailboxdatabase -status

Name                 Server          StorageGroup         Recovery
----                 ------          ------------         --------
Mailbox Database     MAIL1           First Storage Group  False
Mailbox Database     MAIL2           First Storage Group  False


[PS] C:\Windows\System32>Enable-StorageGroupCopy -Identity First Storage Group -
StandbyMachine Mail2 -ReplayLagTime 0.1:0:0
Enable-StorageGroupCopy : A parameter cannot be found that matches parameter na
me 'Storage'.
At line:1 char:24
+ Enable-StorageGroupCopy  <<<< -Identity First Storage Group -StandbyMachine M
ail2 -ReplayLagTime 0.1:0:0
[PS] C:\Windows\System32>
Related Solutions: SCR Exchange 2007

Answer : SCR Exchange 2007 Error

Hello somersetit,

1_ A service layer in your case should provide a thin facade to your domain model to provide an interface for your service layer clients. How you organize your domain model objects is really up to you but it would make sense to keep it simple as possible.

2_ Very often there is a one to one mapping between these  and again this would make your like easier.

3_ I like using forms that live at the top level of the application and have written classes that can dynamically generate these for models based on table gateways and information stored about them.

4_ I look at ACL as a way to implement business rules over resources for access by clients (A Model).  Keeping the service layer as thin as possible comes back to my first point. You call the ACL from your controllers to determine if a client which has an assigned role has the required permission to to the requested resource and act appropriately,

I hope this helps.

Joseph Melnick  
Random Solutions  
 
programming4us programming4us