DSInternals.PasswordQualityTestResult.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<?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>