The Registry is made up of keys, which can be thought of as containers. Keys can contain sub - keys and
property values that are properties of the key in which they are contained. Sub - keys can contain more
sub - keys and property values of their own.
In the output from dir in the previous example, the objects listed under the Name column are sub - keys
in the MSExchangeIS key. The SKC (sub - key count) column denotes the number of sub - keys contained in
that sub - key. The VC (value count) column contains a count of the number of values in that sub - key. The
Property column lists each property value. For example, the Diagnostics sub - key contains three
sub - keys of its own, but no property values. The Performance sub - key contains no sub - keys, but has
13 property values.
To work with Registry keys, use Item cmdlets: Get-Item , Set-Item , Rename-Item , Copy-Item ,
Move-Item , and Remove-Item . To work with Registry property values use ItemProperty cmdlets:
Get-ItemProperty , Set-ItemProperty , Rename-ItemProperty , Copy-ItemProperty ,
Move-ItemProperty , and Remove-ItemProperty .
To create a new Registry key, use the New-Item cmdlet followed by the Path parameter to specify the
key in which to create this key as a sub - key, the ItemType parameter to specify the type of item as ??? key, ???
and the Name parameter to specify the name of the key.
Pages:
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