Format Types/Azure.VirtualMachine.format.ps1xml
<?xml version="1.0" encoding="utf-8" ?> <Configuration> <ViewDefinitions> <View> <Name>AzureVirtualMachine</Name> <ViewSelectedBy> <TypeName>Microsoft.Azure.Commands.Compute.Models.PSVirtualMachine</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> <Width>30</Width> </TableColumnHeader> <TableColumnHeader> <Width>15</Width> </TableColumnHeader> <TableColumnHeader> <Width>12</Width> </TableColumnHeader> <TableColumnHeader> <Width>12</Width> </TableColumnHeader> <TableColumnHeader> <Label>Size</Label> <Width>12</Width> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>ResourceGroupName</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Name</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Location</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>ProvisioningState</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock>$PSItem.HardwareProfile.VmSize</ScriptBlock> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> </ViewDefinitions> </Configuration> |