Edit C:\Windows\System32\ServerManagerInternal\RDManagement\Get-RDCertificate.xaml
<Activity mc:Ignorable="sads sap" x:Class="Microsoft.PowerShell.DynamicActivities._9bac80fd575e400ea5910e083cc3583f" this:_9bac80fd575e400ea5910e083cc3583f.RDManagementServer="localhost" 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:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:mvc="clr-namespace:Microsoft.VisualBasic.CompilerServices;assembly=Microsoft.VisualBasic" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:s1="clr-namespace:System;assembly=System" xmlns:s2="clr-namespace:System;assembly=System.Core" xmlns:s3="clr-namespace:System;assembly=System.ServiceModel" xmlns:s4="clr-namespace:System;assembly=System.ComponentModel.Composition" xmlns:sa="clr-namespace:System.Activities;assembly=System.Activities" xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:sc="clr-namespace:System.Collections;assembly=mscorlib" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:this="clr-namespace:Microsoft.PowerShell.DynamicActivities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <x:Members> <x:Property Name="Role" Type="InArgument(s:String[])" /> <x:Property Name="RDManagementServer" Type="InArgument(x:String)" /> </x:Members> <sap:VirtualizedContainerService.HintSize>440,440</sap:VirtualizedContainerService.HintSize> <mva:VisualBasic.Settings>Assembly references and imported namespaces for internal implementation</mva:VisualBasic.Settings> <Sequence DisplayName="Get-RDCertificate" sap:VirtualizedContainerService.HintSize="222,237"> <Sequence.Variables> <Variable x:TypeArguments="sc:Hashtable" Default="[new Hashtable()]" Name="params" /> </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> <Sequence DisplayName="Initialize Parameters" sap:VirtualizedContainerService.HintSize="200,51"> <sap:WorkflowViewStateService.ViewState> <scg:Dictionary x:TypeArguments="x:String, x:Object"> <x:Boolean x:Key="IsExpanded">False</x:Boolean> <x:Boolean x:Key="IsPinned">False</x:Boolean> </scg:Dictionary> </sap:WorkflowViewStateService.ViewState> <If Condition="[not (Role Is Nothing)]" DisplayName="Role" sap:VirtualizedContainerService.HintSize="200,51"> <sap:WorkflowViewStateService.ViewState> <scg:Dictionary x:TypeArguments="x:String, x:Object"> <x:Boolean x:Key="IsExpanded">False</x:Boolean> <x:Boolean x:Key="IsPinned">False</x:Boolean> </scg:Dictionary> </sap:WorkflowViewStateService.ViewState> <If.Then> <mpa:InlineScript Command="import-module $env:windir\System32\ServerManagerInternal\rdmanagement;
Get-RemoteDesktopCertificate -Role $using:Role" sap:VirtualizedContainerService.HintSize="508,163" PSComputerName="[{RDManagementServer}]" /> </If.Then> <If.Else> <mpa:InlineScript Command="import-module $env:windir\System32\ServerManagerInternal\rdmanagement;
Get-RemoteDesktopCertificate" sap:VirtualizedContainerService.HintSize="508,163" PSComputerName="[{RDManagementServer}]" /> </If.Else> </If> </Sequence> </Sequence> </Activity>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de