Microsoft.Azure.Commands.Profile.format.ps1xml
<?xml version="1.0" encoding="utf-8" ?>
<Configuration> <ViewDefinitions> <View> <Name>Microsoft.Azure.Commands.Profile.Models.PSAzureProfile</Name> <ViewSelectedBy> <TypeName>Microsoft.Azure.Commands.Profile.Models.PSAzureProfile</TypeName> </ViewSelectedBy> <ListControl> <ListEntries> <ListEntry> <ListItems> <ListItem> <Label>Environment</Label> <ScriptBlock>$_.Context.Environment.ToString()</ScriptBlock> </ListItem> <ListItem> <Label>Account</Label> <ScriptBlock>$_.Context.Account.ToString()</ScriptBlock> </ListItem> <ListItem> <Label>Tenant</Label> <ScriptBlock>$_.Context.Tenant.ToString()</ScriptBlock> </ListItem> <ListItem> <Label>Subscription</Label> <ScriptBlock>$_.Context.Subscription.ToString()</ScriptBlock> </ListItem> <ListItem> <Label>CurrentStorageAccount</Label> <ScriptBlock>if ($_.Context.Subscription -ne $null -and $_.Context.Subscription.CurrentStorageAccountName -ne $null) {$_.Context.Subscription.CurrentStorageAccountName} else {$null} </ScriptBlock> </ListItem> </ListItems> </ListEntry> </ListEntries> </ListControl> </View> <View> <Name>Microsoft.Azure.Commands.Profile.Models.PSAzureContext</Name> <ViewSelectedBy> <TypeName>Microsoft.Azure.Commands.Profile.Models.PSAzureContext</TypeName> </ViewSelectedBy> <ListControl> <ListEntries> <ListEntry> <ListItems> <ListItem> <PropertyName>Environment</PropertyName> </ListItem> <ListItem> <PropertyName>Account</PropertyName> </ListItem> <ListItem> <PropertyName>Tenant</PropertyName> </ListItem> <ListItem> <PropertyName>Subscription</PropertyName> </ListItem> <ListItem> <Label>CurrentStorageAccount</Label> <ScriptBlock>if ($_.Subscription -ne $null -and $_.Subscription.CurrentStorageAccountName -ne $null) {$_.Subscription.CurrentStorageAccountName} else {$null} </ScriptBlock> </ListItem> </ListItems> </ListEntry> </ListEntries> </ListControl> </View> <View> <Name>Microsoft.Azure.Commands.Profile.Models.PSAzureSubscription</Name> <ViewSelectedBy> <TypeName>Microsoft.Azure.Commands.Profile.Models.PSAzureSubscription</TypeName> </ViewSelectedBy> <ListControl> <ListEntries> <ListEntry> <ListItems> <ListItem> <PropertyName>SubscriptionName</PropertyName> </ListItem> <ListItem> <PropertyName>SubscriptionId</PropertyName> </ListItem> <ListItem> <PropertyName>TenantId</PropertyName> </ListItem> </ListItems> </ListEntry> </ListEntries> </ListControl> </View> <View> <Name>Microsoft.Azure.Commands.Profile.Models.PSAzureTenant</Name> <ViewSelectedBy> <TypeName>Microsoft.Azure.Commands.Profile.Models.PSAzureTenant</TypeName> </ViewSelectedBy> <ListControl> <ListEntries> <ListEntry> <ListItems> <ListItem> <PropertyName>TenantId</PropertyName> </ListItem> <ListItem> <PropertyName>Domain</PropertyName> </ListItem> </ListItems> </ListEntry> </ListEntries> </ListControl> </View> </ViewDefinitions> </Configuration> |