@@ -2674,13 +2674,13 @@ Contosovault RecoveryServices-6JP
2674
2674
</command : command >
2675
2675
2676
2676
<!-- Start-AzureSiteRecoveryTestFailoverJob-->
2677
- <command : command xmlns : maml =" http://schemas.microsoft.com/maml/2004/10" xmlns : command =" http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns : dev =" http://schemas.microsoft.com/maml/dev/2004/10" >
2677
+ <command : command xmlns : maml =" http://schemas.microsoft.com/maml/2004/10" xmlns : command =" http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns : dev =" http://schemas.microsoft.com/maml/dev/2004/10" >
2678
2678
<command : details >
2679
2679
<command : name >
2680
2680
Start-AzureSiteRecoveryTestFailoverJob
2681
2681
</command : name >
2682
2682
<maml : description >
2683
- <maml : para >Start the Test Failover operation for a Virtual Machine or Recovery Plan under Azure Site Recovery</maml : para >
2683
+ <maml : para >Start the Test Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery</maml : para >
2684
2684
</maml : description >
2685
2685
<maml : copyright >
2686
2686
<maml : para ></maml : para >
@@ -2696,20 +2696,20 @@ Contosovault RecoveryServices-6JP
2696
2696
<command : syntax >
2697
2697
<command : syntaxItem >
2698
2698
<maml : name >Start-AzureSiteRecoveryTestFailoverJob</maml : name >
2699
- <command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" true (ByValue)" position =" named" >
2700
- <maml : name >RecoveryPlan</maml : name >
2701
- <maml : description >
2702
- <maml : para >Recovery Plan object</maml : para >
2703
- </maml : description >
2704
- <command : parameterValue required =" true" variableLength =" false" >ASRRecoveryPlan</command : parameterValue >
2705
- </command : parameter >
2706
2699
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2707
2700
<maml : name >Direction</maml : name >
2708
2701
<maml : description >
2709
2702
<maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml : para >
2710
2703
</maml : description >
2711
2704
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2712
2705
</command : parameter >
2706
+ <command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" true (ByValue)" position =" named" >
2707
+ <maml : name >RecoveryPlan</maml : name >
2708
+ <maml : description >
2709
+ <maml : para >Recovery Plan object</maml : para >
2710
+ </maml : description >
2711
+ <command : parameterValue required =" true" variableLength =" false" >ASRRecoveryPlan</command : parameterValue >
2712
+ </command : parameter >
2713
2713
<command : parameter required =" false" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2714
2714
<maml : name >WaitForCompletion</maml : name >
2715
2715
<maml : description >
@@ -2720,16 +2720,16 @@ Contosovault RecoveryServices-6JP
2720
2720
<command : syntaxItem >
2721
2721
<maml : name >Start-AzureSiteRecoveryTestFailoverJob</maml : name >
2722
2722
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2723
- <maml : name >RpId </maml : name >
2723
+ <maml : name >Direction </maml : name >
2724
2724
<maml : description >
2725
- <maml : para >Id of the Recovery Plan </maml : para >
2725
+ <maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary </maml : para >
2726
2726
</maml : description >
2727
2727
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2728
2728
</command : parameter >
2729
2729
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2730
- <maml : name >Direction </maml : name >
2730
+ <maml : name >RpId </maml : name >
2731
2731
<maml : description >
2732
- <maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary </maml : para >
2732
+ <maml : para >Id of the Recovery Plan </maml : para >
2733
2733
</maml : description >
2734
2734
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2735
2735
</command : parameter >
@@ -2742,20 +2742,20 @@ Contosovault RecoveryServices-6JP
2742
2742
</command : syntaxItem >
2743
2743
<command : syntaxItem >
2744
2744
<maml : name >Start-AzureSiteRecoveryTestFailoverJob</maml : name >
2745
- <command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" true (ByValue)" position =" named" >
2746
- <maml : name >ProtectionEntity</maml : name >
2747
- <maml : description >
2748
- <maml : para >Protection Entity object</maml : para >
2749
- </maml : description >
2750
- <command : parameterValue required =" true" variableLength =" false" >ASRProtectionEntity</command : parameterValue >
2751
- </command : parameter >
2752
2745
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2753
2746
<maml : name >Direction</maml : name >
2754
2747
<maml : description >
2755
2748
<maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml : para >
2756
2749
</maml : description >
2757
2750
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2758
2751
</command : parameter >
2752
+ <command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" true (ByValue)" position =" named" >
2753
+ <maml : name >ProtectionEntity</maml : name >
2754
+ <maml : description >
2755
+ <maml : para >Protection Entity object</maml : para >
2756
+ </maml : description >
2757
+ <command : parameterValue required =" true" variableLength =" false" >ASRProtectionEntity</command : parameterValue >
2758
+ </command : parameter >
2759
2759
<command : parameter required =" false" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2760
2760
<maml : name >WaitForCompletion</maml : name >
2761
2761
<maml : description >
@@ -2765,12 +2765,12 @@ Contosovault RecoveryServices-6JP
2765
2765
</command : syntaxItem >
2766
2766
<command : syntaxItem >
2767
2767
<maml : name >Start-AzureSiteRecoveryTestFailoverJob</maml : name >
2768
- <command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" true (ByValue) " position =" named" >
2769
- <maml : name >ProtectionEntity </maml : name >
2768
+ <command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false " position =" named" >
2769
+ <maml : name >Direction </maml : name >
2770
2770
<maml : description >
2771
- <maml : para >Protection Entity object </maml : para >
2771
+ <maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary </maml : para >
2772
2772
</maml : description >
2773
- <command : parameterValue required =" true" variableLength =" false" >ASRProtectionEntity </command : parameterValue >
2773
+ <command : parameterValue required =" true" variableLength =" false" >string </command : parameterValue >
2774
2774
</command : parameter >
2775
2775
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2776
2776
<maml : name >LogicalNetworkId</maml : name >
@@ -2779,12 +2779,12 @@ Contosovault RecoveryServices-6JP
2779
2779
</maml : description >
2780
2780
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2781
2781
</command : parameter >
2782
- <command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false " position =" named" >
2783
- <maml : name >Direction </maml : name >
2782
+ <command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" true (ByValue) " position =" named" >
2783
+ <maml : name >ProtectionEntity </maml : name >
2784
2784
<maml : description >
2785
- <maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary </maml : para >
2785
+ <maml : para >Protection Entity object </maml : para >
2786
2786
</maml : description >
2787
- <command : parameterValue required =" true" variableLength =" false" >string </command : parameterValue >
2787
+ <command : parameterValue required =" true" variableLength =" false" >ASRProtectionEntity </command : parameterValue >
2788
2788
</command : parameter >
2789
2789
<command : parameter required =" false" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2790
2790
<maml : name >WaitForCompletion</maml : name >
@@ -2795,6 +2795,13 @@ Contosovault RecoveryServices-6JP
2795
2795
</command : syntaxItem >
2796
2796
<command : syntaxItem >
2797
2797
<maml : name >Start-AzureSiteRecoveryTestFailoverJob</maml : name >
2798
+ <command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2799
+ <maml : name >Direction</maml : name >
2800
+ <maml : description >
2801
+ <maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml : para >
2802
+ </maml : description >
2803
+ <command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2804
+ </command : parameter >
2798
2805
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2799
2806
<maml : name >ProtectionEntity</maml : name >
2800
2807
<maml : description >
@@ -2809,13 +2816,6 @@ Contosovault RecoveryServices-6JP
2809
2816
</maml : description >
2810
2817
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2811
2818
</command : parameter >
2812
- <command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2813
- <maml : name >Direction</maml : name >
2814
- <maml : description >
2815
- <maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml : para >
2816
- </maml : description >
2817
- <command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2818
- </command : parameter >
2819
2819
<command : parameter required =" false" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2820
2820
<maml : name >WaitForCompletion</maml : name >
2821
2821
<maml : description >
@@ -2826,23 +2826,23 @@ Contosovault RecoveryServices-6JP
2826
2826
<command : syntaxItem >
2827
2827
<maml : name >Start-AzureSiteRecoveryTestFailoverJob</maml : name >
2828
2828
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2829
- <maml : name >ProtectionContainerId </maml : name >
2829
+ <maml : name >Direction </maml : name >
2830
2830
<maml : description >
2831
- <maml : para >Id of the Protection Container </maml : para >
2831
+ <maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary </maml : para >
2832
2832
</maml : description >
2833
2833
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2834
2834
</command : parameter >
2835
2835
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2836
- <maml : name >ProtectionEntityId </maml : name >
2836
+ <maml : name >ProtectionContainerId </maml : name >
2837
2837
<maml : description >
2838
- <maml : para >Id of the Protection Entity </maml : para >
2838
+ <maml : para >Id of the Protection Container </maml : para >
2839
2839
</maml : description >
2840
2840
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2841
2841
</command : parameter >
2842
2842
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2843
- <maml : name >Direction </maml : name >
2843
+ <maml : name >ProtectionEntityId </maml : name >
2844
2844
<maml : description >
2845
- <maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary </maml : para >
2845
+ <maml : para >Id of the Protection Entity </maml : para >
2846
2846
</maml : description >
2847
2847
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2848
2848
</command : parameter >
@@ -2856,30 +2856,30 @@ Contosovault RecoveryServices-6JP
2856
2856
<command : syntaxItem >
2857
2857
<maml : name >Start-AzureSiteRecoveryTestFailoverJob</maml : name >
2858
2858
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2859
- <maml : name >ProtectionContainerId </maml : name >
2859
+ <maml : name >Direction </maml : name >
2860
2860
<maml : description >
2861
- <maml : para >Id of the Protection Container </maml : para >
2861
+ <maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary </maml : para >
2862
2862
</maml : description >
2863
2863
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2864
2864
</command : parameter >
2865
2865
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2866
- <maml : name >ProtectionEntityId </maml : name >
2866
+ <maml : name >LogicalNetworkId </maml : name >
2867
2867
<maml : description >
2868
- <maml : para >Id of the Protection Entity </maml : para >
2868
+ <maml : para >Logical Network Id </maml : para >
2869
2869
</maml : description >
2870
2870
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2871
2871
</command : parameter >
2872
2872
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2873
- <maml : name >LogicalNetworkId </maml : name >
2873
+ <maml : name >ProtectionContainerId </maml : name >
2874
2874
<maml : description >
2875
- <maml : para >Logical Network Id </maml : para >
2875
+ <maml : para >Id of the Protection Container </maml : para >
2876
2876
</maml : description >
2877
2877
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2878
2878
</command : parameter >
2879
2879
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2880
- <maml : name >Direction </maml : name >
2880
+ <maml : name >ProtectionEntityId </maml : name >
2881
2881
<maml : description >
2882
- <maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary </maml : para >
2882
+ <maml : para >Id of the Protection Entity </maml : para >
2883
2883
</maml : description >
2884
2884
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2885
2885
</command : parameter >
@@ -2892,6 +2892,13 @@ Contosovault RecoveryServices-6JP
2892
2892
</command : syntaxItem >
2893
2893
<command : syntaxItem >
2894
2894
<maml : name >Start-AzureSiteRecoveryTestFailoverJob</maml : name >
2895
+ <command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2896
+ <maml : name >Direction</maml : name >
2897
+ <maml : description >
2898
+ <maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml : para >
2899
+ </maml : description >
2900
+ <command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2901
+ </command : parameter >
2895
2902
<command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2896
2903
<maml : name >ProtectionContainerId</maml : name >
2897
2904
<maml : description >
@@ -2913,13 +2920,6 @@ Contosovault RecoveryServices-6JP
2913
2920
</maml : description >
2914
2921
<command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2915
2922
</command : parameter >
2916
- <command : parameter required =" true" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2917
- <maml : name >Direction</maml : name >
2918
- <maml : description >
2919
- <maml : para >Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml : para >
2920
- </maml : description >
2921
- <command : parameterValue required =" true" variableLength =" false" >string</command : parameterValue >
2922
- </command : parameter >
2923
2923
<command : parameter required =" false" variableLength =" false" globbing =" false" pipelineInput =" false" position =" named" >
2924
2924
<maml : name >WaitForCompletion</maml : name >
2925
2925
<maml : description >
@@ -3134,6 +3134,47 @@ Contosovault RecoveryServices-6JP
3134
3134
</command : commandLine >
3135
3135
</command : commandLines >
3136
3136
</command : example >
3137
+
3138
+ <command : example >
3139
+ <maml : title >
3140
+ -------------------------- EXAMPLE 2 --------------------------
3141
+ </maml : title >
3142
+ <maml : introduction >
3143
+ <maml : para >C:\PS> </maml : para >
3144
+ </maml : introduction >
3145
+ <dev : code >
3146
+ $RP = Get-AzureSiteRecoveryRecoveryPlan -Name " RP1"
3147
+ Start-AzureSiteRecoveryTestFailoverJob -RecoveryPlan $RP -Direction PrimaryToRecovery
3148
+
3149
+ Name :
3150
+ ID : 4a991243-a97f-4617-97be-a6e0dc99a2ff
3151
+ ClientRequestId : 0ae1226f-b68d-4131-b2e8-17bb4c19fa29-2015-02-17 14:35:46Z-P
3152
+ State : NotStarted
3153
+ StateDescription : NotStarted
3154
+ StartTime :
3155
+ EndTime :
3156
+ TargetObjectId :
3157
+ TargetObjectType :
3158
+ TargetObjectName :
3159
+ AllowedActions :
3160
+ Tasks : {}
3161
+ Errors : {}
3162
+ </dev : code >
3163
+ <dev : remarks >
3164
+ <maml : para >Description</maml : para >
3165
+ <maml : para >-----------</maml : para >
3166
+ <maml : para ></maml : para >
3167
+ <maml : para ></maml : para >
3168
+ <maml : para ></maml : para >
3169
+ <maml : para ></maml : para >
3170
+ <maml : para ></maml : para >
3171
+ </dev : remarks >
3172
+ <command : commandLines >
3173
+ <command : commandLine >
3174
+ <command : commandText ></command : commandText >
3175
+ </command : commandLine >
3176
+ </command : commandLines >
3177
+ </command : example >
3137
3178
</command : examples >
3138
3179
<!-- Link section -->
3139
3180
<maml : relatedLinks >
0 commit comments