Partager via


Getting the registry through Powershell..

Just one more quick line to plug into DCM..  (plus a few powershell links which might be useful)

Returning a value set in the registry.  For example if you optimise the TCPWindowSize in a CCR environment you can use the following in DCM to verify that the values are set correctly as per your design.  (I’m using gp in place of get-itemproperty) :

(gp 'HKLM:\SYSTEM\CurrentControlSet
\Services\Tcpip\Parameters’).TCPWindowSize

Some handy links on this very subject:

What Can I Do With Windows PowerShell?
Navigating the Registry
An A-Z Index of Windows PowerShell commands

Windows Powershell Quick Start – this is on Channel9 and is a great place to go for reference regarding Powershell…

..and some more of mine on DCM:

Powershell, DPM and Virtualisation – some great blogs…
Want to check if your Exchange servers are configured how you designed them to be configured?