none
Need help with Set-DPMPolicySchedule cmdlet RRS feed

  • Question

  • hey guyz, when im trying to to set the recovery points for a protection group, im getting the following error..

    can any one help me out  here???

    PS C:\Program Files\Microsoft System Center 2012\DPM\DPM\bin> Set-DPMPolicySchedule $pg[0] $ShadowCopysch[0] -DaysOfWeek mo -TimesOfDay 02:00
    Set-DPMPolicySchedule : Cannot retrieve the dynamic parameters for the cmdlet. Exception of type 'Microsoft.Internal.EnterpriseStorage.Dls.Utils.DlsException' was thrown.
    At line:1 char:22
    + Set-DPMPolicySchedule <<<<  $pg[0] $ShadowCopysch[0] -DaysOfWeek mo -TimesOfDay 02:00
        + CategoryInfo          : InvalidArgument: (:) [Set-DPMPolicySchedule], ParameterBindingException
        + FullyQualifiedErrorId : GetDynamicParametersException,Microsoft.Internal.EnterpriseStorage.Dls.UI.Cmdlet.ProtectionCmdLets.SetPolicyScheduleCmdlet

    Wednesday, November 28, 2012 9:20 AM

Answers

  • solved ..


    Set-DPMPolicySchedule $mpg $ShadowCopysch[1] 6:00 , 12:00  We,Th

    • Marked as answer by SyedHaroon Wednesday, November 28, 2012 9:47 AM
    Wednesday, November 28, 2012 9:47 AM

All replies

  • Hi SyedHaroon,

    Did you try to create or modify your Protection Group ?

    Could you copy/paste whole script ?

    Stephane


    Please remember to click “Mark as Answer” on the post that helps you. This posting is provided "AS IS" with no warranties. knowledge is valid only if it is shared by All.

    My DPM blog Yet Another DPM Blog

    Wednesday, November 28, 2012 9:46 AM
  • solved ..


    Set-DPMPolicySchedule $mpg $ShadowCopysch[1] 6:00 , 12:00  We,Th

    • Marked as answer by SyedHaroon Wednesday, November 28, 2012 9:47 AM
    Wednesday, November 28, 2012 9:47 AM