ECMA2HostTools.Format.ps1xml
|
<?xml version="1.0" encoding="utf-8" ?>
<Configuration> <ViewDefinitions> <!-- Format for ECMA2Host.ConnectorSecret --> <View> <Name>ECMA2Host.ConnectorSecret</Name> <ViewSelectedBy> <TypeName>ECMA2Host.ConnectorSecret</TypeName> </ViewSelectedBy> <ListControl> <ListEntries> <ListEntry> <ListItems> <ListItem> <PropertyName>Name</PropertyName> </ListItem> <ListItem> <Label>EncryptedParameters</Label> <ScriptBlock> if ($_.EncryptedParameters -and $_.EncryptedParameters.Count -gt 0) { $_.EncryptedParameters.GetEnumerator() | ForEach-Object { " $($_.Key):" " Name: $($_.Value.Name)" " Value: $($_.Value.Value)" " Use: $($_.Value.Use)" } | Out-String } else { "(none)" } </ScriptBlock> </ListItem> <ListItem> <PropertyName>SecretToken</PropertyName> </ListItem> <ListItem> <PropertyName>ComputerName</PropertyName> </ListItem> </ListItems> </ListEntry> </ListEntries> </ListControl> </View> </ViewDefinitions> </Configuration> |