SHARE
TWEET

Untitled

a guest Aug 19th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Enable-WSManCredSSP -Role Client -DelegateComputer * -Force
  2. Set-ItemProperty HKLM:SYSTEMCurrentControlSetControlLsaCredsspPolicyDefaultsAllowFreshCredentials -Name WSMan -Value WSMAN/*
  3. Set-ItemProperty HKLM:SYSTEMCurrentControlSetControlLsaCredsspPolicyDefaultsAllowFreshCredentialsDomain -Name WSMan -Value WSMAN/*
  4.      
  5. Enable-PSRemoting -Force
  6. Enable-WSManCredSSP -Role Server -Force
  7.      
  8. Enter-PSSession SPServer -Authentication CredSSP -Credential "DOMAINusername"
  9.      
  10. Add-PSSnapIn Microsoft.SharePoint.PowerShell
  11.      
  12. Get-SPSite
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top