mirror of
https://github.com/MichaelGrafnetter/DSInternals
synced 2025-03-03 10:18:02 +00:00
- Added a custom PowerShell View for FIDO keys - Renamed some FIDO properties - Using Array.Reverse instead of SwapByte - Smoke tests now check type references in PowerShell Views - Removed schema from format files for compatibility reasons
43 lines
1.4 KiB
XML
43 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Configuration><!-- xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/PowerShell/PowerShell/master/src/Schemas/Format.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">-->
|
|
<Controls>
|
|
<Control>
|
|
<Name>HashCollection</Name>
|
|
<CustomControl>
|
|
<CustomEntries>
|
|
<CustomEntry>
|
|
<CustomItem>
|
|
<Frame>
|
|
<LeftIndent>2</LeftIndent>
|
|
<CustomItem>
|
|
<ExpressionBinding>
|
|
<ScriptBlock>$_ | ConvertTo-Hex | foreach -Begin { [int] $i = 1 } -Process { if($i -gt 1) { "`n" }; "Hash {0:d2}: {1}" -f $i,$_ ; $i++ }</ScriptBlock>
|
|
<EnumerateCollection />
|
|
</ExpressionBinding>
|
|
<NewLine />
|
|
</CustomItem>
|
|
</Frame>
|
|
</CustomItem>
|
|
</CustomEntry>
|
|
</CustomEntries>
|
|
</CustomControl>
|
|
</Control>
|
|
<Control>
|
|
<Name>Hash</Name>
|
|
<!-- Converts binary hash into a hex string -->
|
|
<CustomControl>
|
|
<CustomEntries>
|
|
<CustomEntry>
|
|
<CustomItem>
|
|
<ExpressionBinding>
|
|
<ScriptBlock>ConvertTo-Hex $_</ScriptBlock>
|
|
<EnumerateCollection />
|
|
</ExpressionBinding>
|
|
</CustomItem>
|
|
</CustomEntry>
|
|
</CustomEntries>
|
|
</CustomControl>
|
|
</Control>
|
|
</Controls>
|
|
</Configuration>
|