formats/aduser.format.ps1xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Format type data generated 03/08/2021 10:18:56 by COMPANY\artd This file was created using the New-PSFormatXML command that is part of the PSScriptTools module. https://github.com/jdhitsolutions/PSScriptTools --> <Configuration> <ViewDefinitions> <View> <!--Created 03/08/2021 10:18:56 by COMPANY\artd--> <Name>names</Name> <ViewSelectedBy> <TypeName>Microsoft.ActiveDirectory.Management.ADUser</TypeName> </ViewSelectedBy> <GroupBy> <PropertyName>DistinguishedName</PropertyName> <Label>DistinguishedName</Label> </GroupBy> <TableControl> <!--Delete the AutoSize node if you want to use the defined widths <AutoSize />.--> <TableHeaders> <TableColumnHeader> <Label>SamAccountName</Label> <Width>16</Width> <Alignment>left</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>Name</Label> <Width>15</Width> <Alignment>left</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>FirstName</Label> <Width>12</Width> <Alignment>left</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>LastName</Label> <Width>11</Width> <Alignment>left</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>UPN</Label> <Width>25</Width> <Alignment>left</Alignment> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>SamAccountName</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Name</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>FirstName</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>LastName</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>UPN</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> </ViewDefinitions> </Configuration> |