Prev | Current Page 104 | Next

Joezer Cookey-Gam, Brendan Keane, Jeffrey Rosen, and Jonathan Runyon

"Professional Windows PowerShell for Exchange Server 2007 Service Pack 1"

In the following example the Start property value is
changed to 4 , which corresponds to startup type ??? disabled ??? :
[PS] C:\ > Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\MSExchan
geIS -Name startup -Value 4
To add a property value, use the New-ItemProperty cmdlet with the Path parameter to point to the
key where the property value is to be located, the Name parameter to specify the name of the new
property value, the PropertyType parameter to specify the type of value to add, and the Value
Part I: PowerShell for Exchange Fundamentals
60
parameter to specify the new value. Valid property types are String , ExpandString , Binary , DWord ,
and MultiString . In the following example a DWord property value called ???OAB Bandwidth
Threshold (KBps)??? is being added with a value of 5000 to the ParameterSystem sub - key under
MSExchangeIS :
[PS] C:\ > New-ItemProperty -path HKLM:\SYSTEM\CurrentControlSet\Services\MSExchan
geIS\ParametersSystem\ -Name ???OAB Bandwidth Threshold (KBps)??? -PropertyType DWor
d -Value 5000
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL
_MACHINE\SYSTEM\CurrentControlSet\Services\MSE
xchangeIS\ParametersSystem\
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL
_MACHINE\SYSTEM\CurrentControlSet\Services\MSE
xchangeIS
PSChildName : ParametersSystem
PSDrive : HKLM
PSProvider : Microsoft.


Pages:
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
pokoje nad morzem tanio pomiary wiatru hotel kredyt samochodowy santander remont warszawa