IT _Admin0723
asked on
Set Registry on Multiple Servers in Multiple Forests
Hello there,
Would like to ask for some assistance. I have the following registry updates and would like to do an update to servers' registries in multiple forests. Can someone please shed some light?
invoke-command -Computer (Get-Content "C:\temp\listofservers.txt ")
-ScriptBlock {
Set-ItemProperty HKLM:SYSTEM\CurrentControl Set\servic es\DNS\Par ameters -Name EnableGlobalQueryBlockList -Value 0 -Propertytype DWORD -Force
Set-ItemProperty HKLM:SYSTEM\CurrentControl Set\Servic es\LanmanS erver\Para meters -Name SMB1 -Value 0 -PropertyType DWORD -Force
}
Thank you so much for your help!
Would like to ask for some assistance. I have the following registry updates and would like to do an update to servers' registries in multiple forests. Can someone please shed some light?
invoke-command -Computer (Get-Content "C:\temp\listofservers.txt
-ScriptBlock {
Set-ItemProperty HKLM:SYSTEM\CurrentControl
Set-ItemProperty HKLM:SYSTEM\CurrentControl
}
Thank you so much for your help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Most straight-forward and simple solution provided.