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")
Set-ItemProperty HKLM:SYSTEM\CurrentControlSet\services\DNS\Parameters -Name EnableGlobalQueryBlockList-Value 0 -Propertytype DWORD -Force
Set-ItemProperty HKLM:SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters -Name SMB1 -Value 0 -PropertyType DWORD -Force
Thank you so much for your help!