History version of sharepoint
hi dblade99,
if want remote access sharepoint server in powershell, please follow aritcle:
configure remote powershell in sharepoint 2010
#setup remote server enable-psremoting -force enable-wsmancredssp -role server #setup client computer ##gpo: ##allow delegating fresh credentials ##allow delegating fresh credentials ntlm-only server authentication enable-psremoting -force enable-wsmancredssp -role client –delegatecomputer “nameofserver” #create , enter remote session of windows powershell read-host -assecurestring | convertfrom-securestring | out-file c:\crd-sharepoint.txt $pwd = get-content c:\crd-sharepoint.txt | convertto-securestring $crd = new-object -typename system.management.automation.pscredential -argumentlist "domain\username",$pwd $session = new-pssession -computername "spserver" -authentication credssp -credential $crd invoke-command -session $session -scriptblock{add-pssnapin microsoft.sharepoint.powershell}
t oexport version history of sharepoint list items in powershell, please refer script:
https://gallery.technet.microsoft.com/office/test-bb3ed1ca
i recommend can post current script , issue.
if there else regarding issue, please feel free post back.
best regards,
anna wang
please remember mark replies answers if , unmark them if provide no help. if have feedback technet support, contact tnmff@microsoft.com
Windows Server > Windows PowerShell
Comments
Post a Comment