Permission_Format.ps1xml
<?xml version="1.0" encoding="utf-8"?>
<Configuration> <ViewDefinitions> <View> <Name>Permission.TargetPermission</Name> <ViewSelectedBy> <TypeName>Permission.TargetPermission</TypeName> </ViewSelectedBy> <TableControl> <AutoSize/> <TableHeaders> <TableColumnHeader> <Width>15</Width> </TableColumnHeader> <TableColumnHeader> <Label>NetworkPaths</Label> <Width>45</Width> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Path</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.NetworkPaths.Item.Path</ScriptBlock> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>Permission.ParentAccountPermission</Name> <ViewSelectedBy> <TypeName>Permission.ParentAccountPermission</TypeName> </ViewSelectedBy> <TableControl> <AutoSize/> <TableHeaders> <TableColumnHeader> <Label>Item</Label> <Width>15</Width> </TableColumnHeader> <TableColumnHeader> <Label>Accounts</Label> <Width>15</Width> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <ScriptBlock>$_.Item.Path</ScriptBlock> </TableColumnItem> <TableColumnItem> <PropertyName>AccountCaptions</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>Permission.ParentItemPermission</Name> <ViewSelectedBy> <TypeName>Permission.ParentItemPermission</TypeName> </ViewSelectedBy> <TableControl> <AutoSize/> <TableHeaders> <TableColumnHeader> <Label>Item</Label> <Width>15</Width> </TableColumnHeader> <TableColumnHeader> <Label>Items</Label> <Width>15</Width> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <ScriptBlock>$_.Item.Path</ScriptBlock> </TableColumnItem> <TableColumnItem> <PropertyName>ItemPaths</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> </ViewDefinitions> </Configuration> |