Edit C:\Windows\System32\ServerManagerInternal\RDManagement\Test-RDVH.xaml
<Activity mc:Ignorable="sap" x:Class="PostInstallConfiguration.Get_RDVM" this:Get_RDVM.HA="False" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mpa="clr-namespace:Microsoft.PowerShell.Activities;assembly=Microsoft.PowerShell.Activities" xmlns:mv="clr-namespace:Microsoft.VisualBasic;assembly=System" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:sa="clr-namespace:System.Activities;assembly=System.Activities" xmlns:sad="clr-namespace:System.Activities.Debugger;assembly=System.Activities" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:sma="clr-namespace:System.Management.Automation;assembly=System.Management.Automation" xmlns:this="clr-namespace:PostInstallConfiguration" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <x:Members> <x:Property Name="Hosts" Type="InArgument(s:String[])"> <x:Property.Attributes> <RequiredArgumentAttribute /> </x:Property.Attributes> </x:Property> <x:Property Name="VirtualSwitches" Type="InArgument(s:String[])"> <x:Property.Attributes> <RequiredArgumentAttribute /> </x:Property.Attributes> </x:Property> <x:Property Name="HA" Type="InArgument(x:Boolean)" /> <x:Property Name="Success" Type="OutArgument(x:Boolean)" /> </x:Members> <sap:VirtualizedContainerService.HintSize>593.333333333333,697.333333333333</sap:VirtualizedContainerService.HintSize> <mva:VisualBasic.Settings>Assembly references and imported namespaces for internal implementation</mva:VisualBasic.Settings> <Sequence DisplayName="Test RD Virtualization Host" sap:VirtualizedContainerService.HintSize="553.333333333333,657.333333333333"> <Sequence.Variables> <Variable x:TypeArguments="sma:PSDataCollection(sma:ErrorRecord)" Default="[New PSDataCollection(Of ErrorRecord)]" Name="Errors" /> </Sequence.Variables> <sap:WorkflowViewStateService.ViewState> <scg:Dictionary x:TypeArguments="x:String, x:Object"> <x:Boolean x:Key="IsExpanded">True</x:Boolean> </scg:Dictionary> </sap:WorkflowViewStateService.ViewState> <mpa:InlineScript Command="import-module $env:windir\System32\ServerManagerInternal\rdmanagement;
Test-RDVirtualizationHost -HA:$using:HA -ServerName $using:Hosts -VirtualSwitch $using:VirtualSwitches" sap:VirtualizedContainerService.HintSize="531.333333333333,138.666666666667" PSError="[Errors]" /> <If Condition="[Errors.Count > 0]" sap:VirtualizedContainerService.HintSize="531.333333333333,354.666666666667"> <If.Then> <Sequence sap:VirtualizedContainerService.HintSize="264.666666666667,244.666666666667"> <sap:WorkflowViewStateService.ViewState> <scg:Dictionary x:TypeArguments="x:String, x:Object"> <x:Boolean x:Key="IsExpanded">True</x:Boolean> </scg:Dictionary> </sap:WorkflowViewStateService.ViewState> <Assign sap:VirtualizedContainerService.HintSize="242,58.6666666666667"> <Assign.To> <OutArgument x:TypeArguments="x:Boolean">[Success]</OutArgument> </Assign.To> <Assign.Value> <InArgument x:TypeArguments="x:Boolean">False</InArgument> </Assign.Value> </Assign> <TerminateWorkflow Exception="[Errors.Item(0).Exception]" sap:VirtualizedContainerService.HintSize="242,22" Reason="[Errors.Item(0).Exception.Message]" /> </Sequence> </If.Then> <If.Else> <Assign sap:VirtualizedContainerService.HintSize="242,244.666666666667"> <Assign.To> <OutArgument x:TypeArguments="x:Boolean">[Success]</OutArgument> </Assign.To> <Assign.Value> <InArgument x:TypeArguments="x:Boolean">True</InArgument> </Assign.Value> </Assign> </If.Else> </If> </Sequence> </Activity>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de