Az.Bootstrapper.Format.ps1xml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
  <ViewDefinitions>
    <View>
      <Name>ProfileMapDataView</Name>
      <ViewSelectedBy>
        <TypeName>ProfileMapData</TypeName>
      </ViewSelectedBy>
      <ListControl>
        <ListEntries>
          <ListEntry>
            <ListItems>
              <ListItem>
                <PropertyName>ProfileName</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Modules</Label>
                <ScriptBlock>
                  $RequiredModules = "Az", "Az.Compute", "Az.Network", "Az.Storage", "Az.Sql"
                  foreach ($name in $RequiredModules)
                  {
                    ($_.psobject.properties | % { if ($_.name -eq $name) { $name + " : " + ( $_.value | ft -auto | out-string ) } } )
                  }
                </ScriptBlock>
              </ListItem>
            </ListItems>
          </ListEntry>
        </ListEntries>
      </ListControl>
    </View>
  </ViewDefinitions>
</Configuration>