formats/scheduledjob.format.ps1xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- format type data generated 09/04/2020 09:48:10 by BOVINE320\Jeff --> <Configuration> <ViewDefinitions> <View> <!--Created 09/04/2020 09:48:10 by BOVINE320\Jeff--> <Name>nextrun</Name> <ViewSelectedBy> <TypeName>Microsoft.PowerShell.ScheduledJob.ScheduledJobDefinition</TypeName> </ViewSelectedBy> <TableControl> <!--Delete the AutoSize node if you want to use the defined widths.--> <AutoSize /> <TableHeaders> <TableColumnHeader> <Label>Id</Label> <Width>5</Width> <Alignment>left</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>Enabled</Label> <Width>10</Width> <Alignment>left</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>Name</Label> <Width>14</Width> <Alignment>left</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>NextRun</Label> <Width>22</Width> <Alignment>left</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>Command</Label> <Width>34</Width> <Alignment>left</Alignment> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Id</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock> if ($_.enabled) { "True" } else { "$([char]0x1b)[91mFalse$([char]0x1b)[0m" } </ScriptBlock> </TableColumnItem> <TableColumnItem> <PropertyName>Name</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>NextRun</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Command</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> </ViewDefinitions> </Configuration> |