Rocker.format.ps1xml
<!-- Generated with EZOut 2.0.6: Install-Module EZOut or https://github.com/StartAutomating/EZOut --> <Configuration> <ViewDefinitions> <View> <Name>docker.container.ls</Name> <ViewSelectedBy> <TypeName>docker.container.ls</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>ID</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Image</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>State</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Size</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>CreationTime</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>docker.diff</Name> <ViewSelectedBy> <TypeName>docker.diff</TypeName> </ViewSelectedBy> <GroupBy> <PropertyName>ContainerID</PropertyName> </GroupBy> <TableControl> <TableHeaders> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>ChangeType</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Path</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>docker.help</Name> <ViewSelectedBy> <TypeName>docker.help</TypeName> </ViewSelectedBy> <CustomControl> <CustomEntries> <CustomEntry> <CustomItem> <ExpressionBinding> <ScriptBlock>if ($psStyle) { @(foreach ($styleProp in 'Foreground.Cyan') { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -ne '' -join '' }</ScriptBlock> </ExpressionBinding> <ExpressionBinding> <PropertyName>Usage</PropertyName> </ExpressionBinding> <ExpressionBinding> <ScriptBlock> if ($PSStyle) { $PSStyle.Reset } </ScriptBlock> </ExpressionBinding> <NewLine /> <ExpressionBinding> <ItemSelectionCondition> <ScriptBlock> $_.Description </ScriptBlock> </ItemSelectionCondition> <ScriptBlock>if ($psStyle) { @(foreach ($styleProp in 'Foreground.Green') { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -ne '' -join '' }</ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ItemSelectionCondition> <ScriptBlock> $_.Description </ScriptBlock> </ItemSelectionCondition> <ScriptBlock> @( [Environment]::NewLine $_.Description [Environment]::NewLine ) -join '' </ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ItemSelectionCondition> <ScriptBlock> $_.Description </ScriptBlock> </ItemSelectionCondition> <ScriptBlock> if ($PSStyle) { $PSStyle.Reset } </ScriptBlock> </ExpressionBinding> <NewLine /> <ExpressionBinding> <ItemSelectionCondition> <ScriptBlock> $_.Options </ScriptBlock> </ItemSelectionCondition> <ScriptBlock>if ($psStyle) { @(foreach ($styleProp in 'Foreground.Blue') { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -ne '' -join '' }</ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ItemSelectionCondition> <ScriptBlock> $_.Options </ScriptBlock> </ItemSelectionCondition> <ScriptBlock> $_.Options | Select-Object OptionName, Type, Description | Format-Table -Wrap | Out-String </ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ItemSelectionCondition> <ScriptBlock> $_.Options </ScriptBlock> </ItemSelectionCondition> <ScriptBlock> if ($PSStyle) { $PSStyle.Reset } </ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ItemSelectionCondition> <ScriptBlock> $_.Commands </ScriptBlock> </ItemSelectionCondition> <ScriptBlock>if ($psStyle) { @(foreach ($styleProp in 'Foreground.BrightBlue') { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -ne '' -join '' }</ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ItemSelectionCondition> <ScriptBlock> $_.Commands </ScriptBlock> </ItemSelectionCondition> <ScriptBlock> $_.Commands | Select-Object CommandName, Description | Format-Table -Wrap | Out-String </ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ItemSelectionCondition> <ScriptBlock> $_.Commands </ScriptBlock> </ItemSelectionCondition> <ScriptBlock> if ($PSStyle) { $PSStyle.Reset } </ScriptBlock> </ExpressionBinding> </CustomItem> </CustomEntry> </CustomEntries> </CustomControl> </View> <View> <Name>docker.history</Name> <ViewSelectedBy> <TypeName>docker.history</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>CreatedAt</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Size</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>ID</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>CreatedBy</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Comment</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>docker.images</Name> <ViewSelectedBy> <TypeName>docker.images</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>ID</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Repository</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Tag</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>CreationTime</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Size</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>docker.network.ls</Name> <ViewSelectedBy> <TypeName>docker.network.ls</TypeName> </ViewSelectedBy> <GroupBy> <PropertyName>Scope</PropertyName> </GroupBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Name</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>ID</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Driver</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Labels</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>CreationTime</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>docker.system.df</Name> <ViewSelectedBy> <TypeName>docker.system.df</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Type</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Active</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>TotalCount</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Size</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Reclaimable</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>Rocker</Name> <ViewSelectedBy> <TypeName>Rocker</TypeName> </ViewSelectedBy> <CustomControl> <CustomEntries> <CustomEntry> <CustomItem> <ExpressionBinding> <ScriptBlock>if ($psStyle) { @(foreach ($styleProp in 'Foreground.Blue','Bold') { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -ne '' -join '' }</ScriptBlock> </ExpressionBinding> <ExpressionBinding> <PropertyName>Name</PropertyName> </ExpressionBinding> <ExpressionBinding> <ScriptBlock> if ($PSStyle) { $PSStyle.Reset } </ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ScriptBlock>if ($psStyle) { @(foreach ($styleProp in 'Foreground.Cyan') { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -ne '' -join '' }</ScriptBlock> </ExpressionBinding> <Text> @ </Text> <ExpressionBinding> <ScriptBlock> if ($PSStyle) { $PSStyle.Reset } </ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ScriptBlock> if ($PSStyle) { @(foreach ($versionPart in $_.Version.ToString() -split "\.") { @( $PSStyle.Foreground.Cyan $PSStyle.Bold $versionPart $PSStyle.Reset ) -join '' }) -join "$( @( $PSStyle.Foreground.Blue '.' ) -join '' )" } else { $_.ToString() } </ScriptBlock> </ExpressionBinding> <NewLine /> <ExpressionBinding> <ScriptBlock>if ($psStyle) { @(foreach ($styleProp in 'Foreground.Cyan') { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -ne '' -join '' }</ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ScriptBlock> $columnCount = Get-Random -Minimum 1 -Maximum 7 @(foreach ($row in 1..2) { $( if ($row -eq 2) { '◳ ◰ ' * $columnCount } else { '◲ ◱ ' * $columnCount } ) }) -join [Environment]::NewLine </ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ScriptBlock> if ($PSStyle) { $PSStyle.Reset } </ScriptBlock> </ExpressionBinding> <NewLine /> <NewLine /> <ExpressionBinding> <ScriptBlock>if ($psStyle) { @(foreach ($styleProp in 'Foreground.Blue','Italic') { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -ne '' -join '' }</ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ScriptBlock> $_.Taglines | Get-Random </ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ScriptBlock> if ($PSStyle) { $PSStyle.Reset } </ScriptBlock> </ExpressionBinding> <NewLine /> <NewLine /> <NewLine /> </CustomItem> </CustomEntry> </CustomEntries> </CustomControl> </View> </ViewDefinitions> </Configuration> |