DSInternals.PasswordQualityTestResult.format.ps1xml

<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
  <Controls>
    <Control>
      <Name>AccountList</Name>
      <CustomControl>
        <CustomEntries>
          <CustomEntry>
            <CustomItem>
              <Frame>
                <LeftIndent>2</LeftIndent>
                <CustomItem>
                  <ExpressionBinding>
                    <EnumerateCollection />
                    <ScriptBlock>$PSItem | Sort-Object | ForEach-Object { "$PSItem`n" }</ScriptBlock>
                  </ExpressionBinding>
                  <NewLine />
                </CustomItem>
              </Frame>
            </CustomItem>
          </CustomEntry>
        </CustomEntries>
      </CustomControl>
    </Control>
    <Control>
      <Name>AccountGroupList</Name>
      <CustomControl>
        <CustomEntries>
          <CustomEntry>
            <CustomItem>
              <Frame>
                <LeftIndent>2</LeftIndent>
                <CustomItem>
                  <ExpressionBinding>
                    <EnumerateCollection />
                    <ScriptBlock>$PSItem | ForEach-Object -Begin { [int] $i = 1 } -Process { "Group {0}:`n" -f $i; $PSItem | Sort-Object | ForEach-Object { " $PSItem`n" }; $i++ }</ScriptBlock>
                  </ExpressionBinding>
                  <NewLine />
                </CustomItem>
              </Frame>
            </CustomItem>
          </CustomEntry>
        </CustomEntries>
      </CustomControl>
    </Control>
    <Control>
      <Name>PasswordDictionary</Name>
      <CustomControl>
        <CustomEntries>
          <CustomEntry>
            <CustomItem>
              <Frame>
                <LeftIndent>2</LeftIndent>
                <CustomItem>
                  <ExpressionBinding>
                    <EnumerateCollection />
                    <ScriptBlock>$PSItem | Sort-Object -Property Name | ForEach-Object { "{0,-20} {1}`n" -f $PSItem.Name,$PSItem.Value }</ScriptBlock>
                  </ExpressionBinding>
                  <NewLine />
                </CustomItem>
              </Frame>
            </CustomItem>
          </CustomEntry>
        </CustomEntries>
      </CustomControl>
    </Control>
  </Controls>
  <ViewDefinitions>
    <View>
      <Name>PasswordQualityTestResult</Name>
      <ViewSelectedBy>
        <TypeName>DSInternals.PowerShell.PasswordQualityTestResult</TypeName>
      </ViewSelectedBy>
      <CustomControl>
        <CustomEntries>
          <CustomEntry>
            <CustomItem>
              <Text>Active Directory Password Quality Report</Text>
              <NewLine />
              <Text>----------------------------------------</Text>
              <NewLine />
              <NewLine />
              <Text>Passwords of these accounts are stored using reversible encryption:</Text>
              <NewLine />
              <ExpressionBinding>
                <PropertyName>ClearTextPassword</PropertyName>
                <CustomControlName>PasswordDictionary</CustomControlName>
              </ExpressionBinding>
              <Text>LM hashes of passwords of these accounts are present:</Text>
              <NewLine />
              <ExpressionBinding>
                <PropertyName>LMHash</PropertyName>
                <CustomControlName>AccountList</CustomControlName>
              </ExpressionBinding>
              <Text>These accounts have no password set:</Text>
              <NewLine />
              <ExpressionBinding>
                <PropertyName>EmptyPassword</PropertyName>
                <CustomControlName>AccountList</CustomControlName>
              </ExpressionBinding>
              <Text>Passwords of these accounts have been found in the dictionary:</Text>
              <NewLine />
              <ExpressionBinding>
                <PropertyName>WeakPassword</PropertyName>
                <CustomControlName>PasswordDictionary</CustomControlName>
              </ExpressionBinding>
              <Text>Historical passwords of these accounts have been found in the dictionary:</Text>
              <NewLine />
              <ExpressionBinding>
                <PropertyName>WeakHistoricalPassword</PropertyName>
                <CustomControlName>PasswordDictionary</CustomControlName>
              </ExpressionBinding>
              <Text>These groups of accounts have the same passwords:</Text>
              <NewLine />
              <ExpressionBinding>
                <PropertyName>DuplicatePasswordGroups</PropertyName>
                <CustomControlName>AccountGroupList</CustomControlName>
              </ExpressionBinding>
              <Text>These computer accounts have default passwords:</Text>
              <NewLine />
              <ExpressionBinding>
                <PropertyName>DefaultComputerPassword</PropertyName>
                <CustomControlName>AccountList</CustomControlName>
              </ExpressionBinding>
              <Text>Kerberos AES keys are missing from these accounts:</Text>
              <NewLine />
              <ExpressionBinding>
                <PropertyName>AESKeysMissing</PropertyName>
                <CustomControlName>AccountList</CustomControlName>
              </ExpressionBinding>
              <Text>Kerberos pre-authentication is not required for these accounts:</Text>
              <NewLine />
              <ExpressionBinding>
                <PropertyName>PreauthNotRequired</PropertyName>
                <CustomControlName>AccountList</CustomControlName>
              </ExpressionBinding>
              <Text>Only DES encryption is allowed to be used with these accounts:</Text>
              <NewLine />
              <ExpressionBinding>
                <PropertyName>DESEncryptionOnly</PropertyName>
                <CustomControlName>AccountList</CustomControlName>
              </ExpressionBinding>
              <Text>These administrative accounts are allowed to be delegated to a service:</Text>
              <NewLine />
              <ExpressionBinding>
                <PropertyName>DelegatableAdmins</PropertyName>
                <CustomControlName>AccountList</CustomControlName>
              </ExpressionBinding>
              <Text>Passwords of these accounts will never expire:</Text>
              <NewLine />
              <ExpressionBinding>
                <PropertyName>PasswordNeverExpires</PropertyName>
                <CustomControlName>AccountList</CustomControlName>
              </ExpressionBinding>
              <Text>These accounts are not required to have a password:</Text>
              <NewLine />
              <ExpressionBinding>
                <PropertyName>PasswordNotRequired</PropertyName>
                <CustomControlName>AccountList</CustomControlName>
              </ExpressionBinding>
            </CustomItem>
          </CustomEntry>
        </CustomEntries>
      </CustomControl>
    </View>
  </ViewDefinitions>
</Configuration>