Popular Powershell commands and scripts for SharePoint People

Add a site to trusted sites on local machine. Change the host name and run this script all at once. Code from here

set-location “HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings”
set-location ZoneMap\Domains
new-item tfs.nwi.local
set-location tfs.nwi.local
new-itemproperty . -Name http -Value 2 -Type DWORD

 

DisableLoopbackCheck

New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name “DisableLoopbackCheck”

Advertisements