mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
4379 lines
207 KiB
XML
4379 lines
207 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|||
|
|
<!-- *******************************************************************
|
||
|
|
These sample files contain formatting information used by the Windows
|
||
|
|
PowerShell engine. Do not edit or change the contents of this file
|
||
|
|
directly. Please see the Windows PowerShell documentation or type
|
||
|
|
Get-Help Update-FormatData for more information.
|
||
|
|
|
||
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
|
|
||
|
|
THIS SAMPLE CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
|
||
|
|
OF ANY KIND,WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
||
|
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
|
||
|
|
PURPOSE. IF THIS CODE AND INFORMATION IS MODIFIED, THE ENTIRE RISK OF USE
|
||
|
|
OR RESULTS IN CONNECTION WITH THE USE OF THIS CODE AND INFORMATION
|
||
|
|
REMAINS WITH THE USER.
|
||
|
|
******************************************************************** -->
|
||
|
|
<Configuration>
|
||
|
|
<!-- ################ VIEW DEFINITIONS ################ -->
|
||
|
|
<ViewDefinitions>
|
||
|
|
|
||
|
|
<View>
|
||
|
|
<Name>ReducedDefaultCommandHelp</Name>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>ExtendedCmdletHelpInfo</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<Controls>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterValueGroupControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<Text>{</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.ParameterValue.Length -ne $()</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
$i=0; $out=""; foreach($a in
|
||
|
|
$_.ParameterValue) { if($i -gt 0) { $out = $out +
|
||
|
|
" | "; }; $out = $out + $a; $i = $i + 1; } $out;
|
||
|
|
</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>}</Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterValueControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"<" + $_ + ">"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<!-- Optional tag for Name -->
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>(($_.position -ne $()) -and ($_.position -ne "") -and ($_.position -notmatch "named") -and ([int]$_.position -ne $()))</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text>-</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>$_</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<!--End Optional tag for Name -->
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>(($_.position -ne $()) -and ($_.position -ne "") -and ($_.position -notmatch "named") -and ([int]$_.position -ne $()))</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ParameterValue</PropertyName>
|
||
|
|
<CustomControlName>MamlParameterValueControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ParameterValueGroup</PropertyName>
|
||
|
|
<CustomControlName>MamlParameterValueGroupControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
</Controls>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Details</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Name"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Syntax"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Syntax</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>SyntaxItem</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Parameter</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlParameterControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.WorkflowCommonParameters -eq $true</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text>[</Text>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="CommonWorkflowParameters" />
|
||
|
|
<Text>]</Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.CommonParameters -eq $true</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text>[</Text>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="CommonParameters" />
|
||
|
|
<Text>]</Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="AliasesSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Aliases</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="RemarksSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Remarks</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</View>
|
||
|
|
|
||
|
|
<View>
|
||
|
|
<Name>ReducedVerboseCommandHelp</Name>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>ExtendedCmdletHelpInfo#DetailedView</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<Controls>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterValueGroupControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<Text>{</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.ParameterValue.Length -ne $()</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
$i=0; $out=""; foreach($a in
|
||
|
|
$_.ParameterValue) { if($i -gt 0) { $out = $out +
|
||
|
|
" | "; }; $out = $out + $a; $i = $i + 1; } $out;
|
||
|
|
</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>}</Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterValueControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"<" + $_ + ">"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<!-- Optional tag for Name -->
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>(($_.position -ne $()) -and ($_.position -ne "") -and ($_.position -notmatch "named") -and ([int]$_.position -ne $()))</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text>-</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>$_</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<!--End Optional tag for Name -->
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>(($_.position -ne $()) -and ($_.position -ne "") -and ($_.position -notmatch "named") -and ([int]$_.position -ne $()))</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ParameterValue</PropertyName>
|
||
|
|
<CustomControlName>MamlParameterValueControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ParameterValueGroup</PropertyName>
|
||
|
|
<CustomControlName>MamlParameterValueGroupControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
</Controls>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Details</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Name"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Syntax"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Syntax</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>SyntaxItem</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Parameter</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlParameterControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.WorkflowCommonParameters -eq $true</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text>[</Text>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="CommonWorkflowParameters" />
|
||
|
|
<Text>]</Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.CommonParameters -eq $true</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text>[</Text>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="CommonParameters" />
|
||
|
|
<Text>]</Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Parameters"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Parameters</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Parameter</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text>-</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ParameterValue</PropertyName>
|
||
|
|
<CustomControlName>MamlParameterValueControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.WorkflowCommonParameters -eq $true</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="CommonWorkflowParameters" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="BaseWorkflowCmdletInformation"/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.CommonParameters -eq $true</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="CommonParameters" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="BaseCmdletInformation"/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>($_.CommonParameters -eq $false) -and ($_.parameters.parameter.count -eq 0)</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="None" />
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="AliasesSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Aliases</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="RemarksSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Remarks</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</View>
|
||
|
|
|
||
|
|
<View>
|
||
|
|
<Name>ReducedFullCommandHelp</Name>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>ExtendedCmdletHelpInfo#FullView</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<Controls>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterValueGroupControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<Text>{</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.ParameterValue.Length -ne $()</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
$i=0; $out=""; foreach($a in
|
||
|
|
$_.ParameterValue) { if($i -gt 0) { $out = $out +
|
||
|
|
" | "; }; $out = $out + $a; $i = $i + 1; } $out;
|
||
|
|
</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>}</Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterValueControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"<" + $_ + ">"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<!-- Optional tag for Name -->
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>(($_.position -ne $()) -and ($_.position -ne "") -and ($_.position -notmatch "named") -and ([int]$_.position -ne $()))</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text>-</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>$_</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<!--End Optional tag for Name -->
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>(($_.position -ne $()) -and ($_.position -ne "") -and ($_.position -notmatch "named") -and ([int]$_.position -ne $()))</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ParameterValue</PropertyName>
|
||
|
|
<CustomControlName>MamlParameterValueControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ParameterValueGroup</PropertyName>
|
||
|
|
<CustomControlName>MamlParameterValueGroupControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlTypeControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>name</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlPossibleValueControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>possibleValue</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Value</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
</Controls>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Details</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Name"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Syntax"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Syntax</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>SyntaxItem</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Parameter</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlParameterControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.WorkflowCommonParameters -eq $true</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text>[</Text>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="CommonWorkflowParameters" />
|
||
|
|
<Text>]</Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.CommonParameters -eq $true</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text>[</Text>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="CommonParameters" />
|
||
|
|
<Text>]</Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Parameters"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Parameters</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Parameter</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text>-</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ParameterValue</PropertyName>
|
||
|
|
<CustomControlName>MamlParameterValueControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.description -ne $()</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<PropertyName>description</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.possibleValues -ne $()</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<!-- This will display possible values -->
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>possibleValues</PropertyName>
|
||
|
|
<CustomControlName>MamlPossibleValueControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text
|
||
|
|
AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ParameterRequired"/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required.ToLower().Equals("true")</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="TrueShort" />
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required.ToLower().Equals("false")</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="FalseShort" />
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text
|
||
|
|
AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ParameterPosition"/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>($_.position -eq $()) -or ($_.position -eq "")</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="NamedParameter" />
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.position -ne $()</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.position</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text
|
||
|
|
AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="AcceptsPipelineInput"/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>pipelineInput</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text
|
||
|
|
AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ParameterSetName"/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>parameterSetName</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text
|
||
|
|
AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ParameterAliases"/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>aliases</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text
|
||
|
|
AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ParameterIsDynamic"/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>isDynamic</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.WorkflowCommonParameters -eq $true</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="CommonWorkflowParameters" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="BaseWorkflowCmdletInformation"/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.CommonParameters -eq $true</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="CommonParameters" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="BaseCmdletInformation"/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>($_.CommonParameters -eq $false) -and ($_.parameters.parameter.count -eq 0)</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="None" />
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="InputType"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>InputTypes</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>InputType</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>type</PropertyName>
|
||
|
|
<CustomControlName>MamlTypeControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="ReturnType"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ReturnValues</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ReturnValue</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>type</PropertyName>
|
||
|
|
<CustomControlName>MamlTypeControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="AliasesSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Aliases</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="RemarksSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Remarks</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</View>
|
||
|
|
|
||
|
|
<View>
|
||
|
|
<Name>ReducedExamplesCommandHelp</Name>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>ExtendedCmdletHelpInfo#ExamplesView</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Details</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Name"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="AliasesSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Aliases</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="RemarksSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Remarks</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</View>
|
||
|
|
|
||
|
|
<View>
|
||
|
|
<Name>ReducedCommandHelpParameterView</Name>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>ExtendedCmdletHelpInfo#parameter</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<Controls>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterValueGroupControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<Text>{</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.ParameterValue.Length -ne $()</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
$i=0; $out=""; foreach($a in
|
||
|
|
$_.ParameterValue) { if($i -gt 0) { $out = $out +
|
||
|
|
" | "; }; $out = $out + $a; $i = $i + 1; } $out;
|
||
|
|
</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>}</Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterValueControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"<" + $_ + ">"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<!-- Optional tag for Name -->
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>(($_.position -ne $()) -and ($_.position -ne "") -and ($_.position -notmatch "named") -and ([int]$_.position -ne $()))</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text>-</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>$_</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<!--End Optional tag for Name -->
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>(($_.position -ne $()) -and ($_.position -ne "") -and ($_.position -notmatch "named") -and ([int]$_.position -ne $()))</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ParameterValue</PropertyName>
|
||
|
|
<CustomControlName>MamlParameterValueControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ParameterValueGroup</PropertyName>
|
||
|
|
<CustomControlName>MamlParameterValueGroupControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlTypeControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>name</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlPossibleValueControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>possibleValue</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Value</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
</Controls>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text>-</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ParameterValue</PropertyName>
|
||
|
|
<CustomControlName>MamlParameterValueControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.description -ne $()</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<PropertyName>description</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.possibleValues -ne $()</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<!-- This will display possible values -->
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>possibleValues</PropertyName>
|
||
|
|
<CustomControlName>MamlPossibleValueControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text
|
||
|
|
AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ParameterRequired"/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required.ToLower().Equals("true")</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="TrueShort" />
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required.ToLower().Equals("false")</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="FalseShort" />
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text
|
||
|
|
AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ParameterPosition"/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>($_.position -eq $()) -or ($_.position -eq "")</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="NamedParameter" />
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.position -ne $()</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.position</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text
|
||
|
|
AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="AcceptsPipelineInput"/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>pipelineInput</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text
|
||
|
|
AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ParameterSetName"/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>parameterSetName</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text
|
||
|
|
AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ParameterAliases"/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>aliases</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text
|
||
|
|
AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ParameterIsDynamic"/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>isDynamic</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</View>
|
||
|
|
<View>
|
||
|
|
<Name>VerboseRecord</Name>
|
||
|
|
<OutOfBand/>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>System.Management.Automation.VerboseRecord</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Message</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</View>
|
||
|
|
<View>
|
||
|
|
<Name>DeserializedVerboseRecord</Name>
|
||
|
|
<OutOfBand/>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>Deserialized.System.Management.Automation.VerboseRecord</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>InformationalRecord_Message</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</View>
|
||
|
|
<View>
|
||
|
|
<Name>DebugRecord</Name>
|
||
|
|
<OutOfBand/>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>System.Management.Automation.DebugRecord</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Message</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</View>
|
||
|
|
<View>
|
||
|
|
<Name>DeserializedDebugRecord</Name>
|
||
|
|
<OutOfBand/>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>Deserialized.System.Management.Automation.DebugRecord</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>InformationalRecord_Message</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</View>
|
||
|
|
|
||
|
|
<View>
|
||
|
|
<Name>DscResourceHelp</Name>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>DscResourceHelpInfo#FullView</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<Controls>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlShortDescriptionControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlParaTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlDescriptionControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlParaTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlOrderedListTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<FirstLineHanging>4</FirstLineHanging>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Tag</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlUnorderedListTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<FirstLineHanging>2</FirstLineHanging>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Tag</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlDefinitionTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Term</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Definition</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterValueControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"<" + $_ + ">"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>$_.Text</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlExampleControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Title</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Introduction</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Code</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>results</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>remarks</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlShortDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
</Controls>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Details</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Name"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="Synopsis"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Description</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlShortDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="DetailedDescription"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>description</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Properties"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Properties</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Parameter</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ParameterValue</PropertyName>
|
||
|
|
<CustomControlName>MamlParameterValueControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Description</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.possibleValues -ne $()</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<!-- This will display possible values -->
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>possibleValues</PropertyName>
|
||
|
|
<CustomControlName>MamlPossibleValueControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text
|
||
|
|
AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ParameterRequired"/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required.ToLower().Equals("true")</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="TrueShort" />
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required.ToLower().Equals("false")</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>
|
||
|
|
|
||
|
|
</ScriptBlock>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="FalseShort" />
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Examples"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Examples</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Example</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlExampleControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="RelatedLinks"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>relatedLinks</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>navigationLink</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>linkText</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.linkText.Length -ne 0</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>" "</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>uri</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="RemarksSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ExampleHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -examples"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="VerboseHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -detailed"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="FullHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -full"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>
|
||
|
|
Set-StrictMode -Off
|
||
|
|
if(($psversiontable.psversion.Major -gt 2) -and ($_.relatedLinks -ne $()) -and ($_.relatedLinks.navigationLink -ne $()) -and ($_.relatedLinks.navigationLink.Length -ne 0))
|
||
|
|
{
|
||
|
|
$assembly = [System.Reflection.Assembly]::Load("System.Management.Automation")
|
||
|
|
$resourceManager = New-Object System.Resources.ResourceManager -ArgumentList "HelpDisplayStrings", $assembly
|
||
|
|
[String]::Format(" {0}{1}", $resourceManager.GetString("RelatedLinksHelpInfo"), "`"get-help " + $_.Details.Name + " -online`"`n")
|
||
|
|
}
|
||
|
|
</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</View>
|
||
|
|
|
||
|
|
<View>
|
||
|
|
<Name>DscResourceHelp</Name>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>DscResourceHelpInfo#DetailedView</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<Controls>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlShortDescriptionControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlParaTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlDescriptionControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlParaTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlOrderedListTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<FirstLineHanging>4</FirstLineHanging>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Tag</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlUnorderedListTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<FirstLineHanging>2</FirstLineHanging>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Tag</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlDefinitionTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Term</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Definition</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterValueControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"<" + $_ + ">"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>$_.Text</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlExampleControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Title</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Introduction</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Code</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>results</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>remarks</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlShortDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
</Controls>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Details</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Name"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="Synopsis"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Description</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlShortDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="DetailedDescription"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>description</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Properties"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Properties</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Parameter</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>ParameterValue</PropertyName>
|
||
|
|
<CustomControlName>MamlParameterValueControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Description</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Examples"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Examples</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Example</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlExampleControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="RelatedLinks"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>relatedLinks</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>navigationLink</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>linkText</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.linkText.Length -ne 0</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>" "</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>uri</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="RemarksSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ExampleHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -examples"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="VerboseHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -detailed"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="FullHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -full"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>
|
||
|
|
Set-StrictMode -Off
|
||
|
|
if(($psversiontable.psversion.Major -gt 2) -and ($_.relatedLinks -ne $()) -and ($_.relatedLinks.navigationLink -ne $()) -and ($_.relatedLinks.navigationLink.Length -ne 0))
|
||
|
|
{
|
||
|
|
$assembly = [System.Reflection.Assembly]::Load("System.Management.Automation")
|
||
|
|
$resourceManager = New-Object System.Resources.ResourceManager -ArgumentList "HelpDisplayStrings", $assembly
|
||
|
|
[String]::Format(" {0}{1}", $resourceManager.GetString("RelatedLinksHelpInfo"), "`"get-help " + $_.Details.Name + " -online`"`n")
|
||
|
|
}
|
||
|
|
</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</View>
|
||
|
|
|
||
|
|
<View>
|
||
|
|
<Name>DscResourceHelp</Name>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>DscResourceHelpInfo</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<Controls>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlShortDescriptionControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlParaTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlDescriptionControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlParaTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlOrderedListTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<FirstLineHanging>4</FirstLineHanging>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Tag</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlUnorderedListTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<FirstLineHanging>2</FirstLineHanging>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Tag</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlDefinitionTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Term</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Definition</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterValueControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"<" + $_ + ">"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>$_.Text</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlExampleControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Title</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Introduction</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Code</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>results</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>remarks</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlShortDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
</Controls>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Details</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Name"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="Synopsis"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Description</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlShortDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="DetailedDescription"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>description</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="RelatedLinks"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>relatedLinks</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>navigationLink</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>linkText</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.linkText.Length -ne 0</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>" "</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>uri</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="RemarksSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ExampleHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -examples"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="VerboseHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -detailed"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="FullHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -full"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>
|
||
|
|
if(($psversiontable.psversion.Major -gt 2) -and ($_.relatedLinks -ne $()) -and ($_.relatedLinks.navigationLink -ne $()) -and ($_.relatedLinks.navigationLink.Length -ne 0))
|
||
|
|
{
|
||
|
|
$assembly = [System.Reflection.Assembly]::Load("System.Management.Automation")
|
||
|
|
$resourceManager = New-Object System.Resources.ResourceManager -ArgumentList "HelpDisplayStrings", $assembly
|
||
|
|
[String]::Format(" {0}{1}", $resourceManager.GetString("RelatedLinksHelpInfo"), "`"get-help " + $_.Details.Name + " -online`"`n")
|
||
|
|
}
|
||
|
|
</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</View>
|
||
|
|
|
||
|
|
<View>
|
||
|
|
<Name>PSClassHelp</Name>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>PSClassHelpInfo#FullView</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<Controls>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlShortDescriptionControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlParaTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlFieldCustomControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlPSClassHelpInfo#field</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"[" + $_.fieldData.type.name + "] $" + $_.fieldData.name</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>$_.introduction.text</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlMethodCustomControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlPSClassHelpInfo#method</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<CustomItem>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>
|
||
|
|
function GetParam
|
||
|
|
{
|
||
|
|
if(-not $_.Parameters)
|
||
|
|
{
|
||
|
|
return $null
|
||
|
|
}
|
||
|
|
$_.Parameters.Parameter |
|
||
|
|
%{
|
||
|
|
|
||
|
|
if($_.type)
|
||
|
|
{
|
||
|
|
$param = "[$($_.type.name)] `$$($_.name), "
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
$param = "[object] `$$($_.name), "
|
||
|
|
}
|
||
|
|
|
||
|
|
$params += $param
|
||
|
|
}
|
||
|
|
|
||
|
|
$params = $params.Remove($params.Length - 2)
|
||
|
|
return $params
|
||
|
|
}
|
||
|
|
|
||
|
|
$paramOutput = GetParam
|
||
|
|
|
||
|
|
"[" + $_.returnValue.type.name + "] " + $_.title + "(" + $($paramOutput) + ")"
|
||
|
|
</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>$_.introduction.text</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlExampleControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Title</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Introduction</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Code</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>results</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>remarks</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlShortDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
</Controls>
|
||
|
|
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Name"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="Synopsis"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Introduction</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlShortDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Properties"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>members</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>member</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<CustomControlName>MamlFieldCustomControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Methods"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>members</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>member</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<CustomControlName>MamlMethodCustomControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Examples"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Examples</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Example</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlExampleControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="RelatedLinks"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>relatedLinks</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>navigationLink</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>linkText</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.linkText.Length -ne 0</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>" "</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>uri</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="RemarksSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ExampleHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -examples"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="VerboseHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -detailed"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="FullHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -full"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>
|
||
|
|
if(($psversiontable.psversion.Major -gt 2) -and ($_.relatedLinks -ne $()) -and ($_.relatedLinks.navigationLink -ne $()) -and ($_.relatedLinks.navigationLink.Length -ne 0))
|
||
|
|
{
|
||
|
|
$assembly = [System.Reflection.Assembly]::Load("System.Management.Automation")
|
||
|
|
$resourceManager = New-Object System.Resources.ResourceManager -ArgumentList "HelpDisplayStrings", $assembly
|
||
|
|
[String]::Format(" {0}{1}", $resourceManager.GetString("RelatedLinksHelpInfo"), "`"get-help " + $_.Details.Name + " -online`"`n")
|
||
|
|
}
|
||
|
|
</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
|
||
|
|
</View>
|
||
|
|
|
||
|
|
<View>
|
||
|
|
<Name>PSClassHelp</Name>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>PSClassHelpInfo#DetailedView</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<Controls>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlShortDescriptionControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlParaTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlFieldCustomControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlPSClassHelpInfo#field</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"[" + $_.fieldData.type.name + "] $" + $_.fieldData.name</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>$_.introduction.text</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlMethodCustomControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlPSClassHelpInfo#method</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<CustomItem>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>
|
||
|
|
function GetParam
|
||
|
|
{
|
||
|
|
if(-not $_.Parameters)
|
||
|
|
{
|
||
|
|
return $null
|
||
|
|
}
|
||
|
|
$_.Parameters.Parameter |
|
||
|
|
%{
|
||
|
|
|
||
|
|
if($_.type)
|
||
|
|
{
|
||
|
|
$param = "[$($_.type.name)] `$$($_.name), "
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
$param = "[object] `$$($_.name), "
|
||
|
|
}
|
||
|
|
|
||
|
|
$params += $param
|
||
|
|
}
|
||
|
|
|
||
|
|
$params = $params.Remove($params.Length - 2)
|
||
|
|
return $params
|
||
|
|
}
|
||
|
|
|
||
|
|
$paramOutput = GetParam
|
||
|
|
|
||
|
|
"[" + $_.returnValue.type.name + "] " + $_.title + "(" + $($paramOutput) + ")"
|
||
|
|
</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>$_.introduction.text</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlDescriptionControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlParaTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlOrderedListTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<FirstLineHanging>4</FirstLineHanging>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Tag</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlUnorderedListTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<FirstLineHanging>2</FirstLineHanging>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Tag</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlDefinitionTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Term</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Definition</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterValueControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"[" + $_ + "]" </ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>$_.Text</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlExampleControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Title</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Introduction</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Code</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>results</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>remarks</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlShortDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
</Controls>
|
||
|
|
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Name"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="Synopsis"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Introduction</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlShortDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Properties"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>members</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>member</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<CustomControlName>MamlFieldCustomControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Methods"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>members</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>member</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<CustomControlName>MamlMethodCustomControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Examples"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Examples</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Example</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlExampleControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="RelatedLinks"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>relatedLinks</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>navigationLink</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>linkText</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.linkText.Length -ne 0</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>" "</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>uri</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="RemarksSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ExampleHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -examples"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="VerboseHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -detailed"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="FullHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Details.Name + " -full"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>
|
||
|
|
if(($psversiontable.psversion.Major -gt 2) -and ($_.relatedLinks -ne $()) -and ($_.relatedLinks.navigationLink -ne $()) -and ($_.relatedLinks.navigationLink.Length -ne 0))
|
||
|
|
{
|
||
|
|
$assembly = [System.Reflection.Assembly]::Load("System.Management.Automation")
|
||
|
|
$resourceManager = New-Object System.Resources.ResourceManager -ArgumentList "HelpDisplayStrings", $assembly
|
||
|
|
[String]::Format(" {0}{1}", $resourceManager.GetString("RelatedLinksHelpInfo"), "`"get-help " + $_.Details.Name + " -online`"`n")
|
||
|
|
}
|
||
|
|
</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
|
||
|
|
</View>
|
||
|
|
|
||
|
|
|
||
|
|
<View>
|
||
|
|
<Name>PSClassHelp</Name>
|
||
|
|
<ViewSelectedBy>
|
||
|
|
<TypeName>PSClassHelpInfo</TypeName>
|
||
|
|
</ViewSelectedBy>
|
||
|
|
<Controls>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlShortDescriptionControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlParaTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlDescriptionControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlParaTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlOrderedListTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<FirstLineHanging>4</FirstLineHanging>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Tag</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlUnorderedListTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<FirstLineHanging>2</FirstLineHanging>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Tag</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<EntrySelectedBy>
|
||
|
|
<TypeName>MamlDefinitionTextItem</TypeName>
|
||
|
|
</EntrySelectedBy>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Term</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Definition</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterValueControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"["</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"<" + $_ + ">"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.required -ne "true"</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>"]"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlParameterControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text> </Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>$_.Text</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
<Control>
|
||
|
|
<Name>MamlExampleControl</Name>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Title</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Introduction</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Text</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Code</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>results</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>remarks</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlShortDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</Control>
|
||
|
|
</Controls>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="Name"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Name</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="Synopsis"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>Introduction</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControlName>MamlShortDescriptionControl</CustomControlName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings" ResourceId="RelatedLinks"/>
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>relatedLinks</PropertyName>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>navigationLink</PropertyName>
|
||
|
|
<EnumerateCollection/>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>linkText</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ItemSelectionCondition>
|
||
|
|
<ScriptBlock>$_.linkText.Length -ne 0</ScriptBlock>
|
||
|
|
</ItemSelectionCondition>
|
||
|
|
<ScriptBlock>" "</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<PropertyName>uri</PropertyName>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<NewLine/>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="RemarksSection" />
|
||
|
|
<NewLine/>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="ExampleHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Name + " -examples"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="VerboseHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Name + " -detailed"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<Text AssemblyName="System.Management.Automation"
|
||
|
|
BaseName="HelpDisplayStrings"
|
||
|
|
ResourceId="FullHelpInfo"/>
|
||
|
|
<Text>"</Text>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>"get-help " + $_.Name + " -full"</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
<Text>".</Text>
|
||
|
|
<NewLine/>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<CustomControl>
|
||
|
|
<CustomEntries>
|
||
|
|
<CustomEntry>
|
||
|
|
<CustomItem>
|
||
|
|
<Frame>
|
||
|
|
<LeftIndent>4</LeftIndent>
|
||
|
|
<CustomItem>
|
||
|
|
<ExpressionBinding>
|
||
|
|
<ScriptBlock>
|
||
|
|
if(($psversiontable.psversion.Major -gt 2) -and ($_.relatedLinks -ne $()) -and ($_.relatedLinks.navigationLink -ne $()) -and ($_.relatedLinks.navigationLink.Length -ne 0))
|
||
|
|
{
|
||
|
|
$assembly = [System.Reflection.Assembly]::Load("System.Management.Automation")
|
||
|
|
$resourceManager = New-Object System.Resources.ResourceManager -ArgumentList "HelpDisplayStrings", $assembly
|
||
|
|
[String]::Format(" {0}{1}", $resourceManager.GetString("RelatedLinksHelpInfo"), "`"get-help " + $_.Details.Name + " -online`"`n")
|
||
|
|
}
|
||
|
|
</ScriptBlock>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</ExpressionBinding>
|
||
|
|
</CustomItem>
|
||
|
|
</Frame>
|
||
|
|
</CustomItem>
|
||
|
|
</CustomEntry>
|
||
|
|
</CustomEntries>
|
||
|
|
</CustomControl>
|
||
|
|
</View>
|
||
|
|
|
||
|
|
</ViewDefinitions>
|
||
|
|
</Configuration>
|