Databases Reference
In-Depth Information
Working with the Registry
The StdRegProv class contains methods that manipulate system registry keys and values. On Windows
Server 2003, Windows XP, Windows 2000, Windows NT 4.0, and Windows Me/98/95, StdRegProv is
available only in the root\default namespace. On Windows Vista and Windows Server 2008, StdRegProv
is preinstalled in the WMI namespaces root\default and root\cimv2.
Now check all the methods that are available from the class StdRegProv :
$Reg = [WMIClass]"root\default:stdRegProv"
$Reg | Get-Member
Figure 8-34 shows the results.
Figure 8-34
Registry keys are classified into six different categories (hives) identified by the following unique registry
hive constants. You need these unique numbers to access the right keys and their values.
Search WWH ::




Custom Search