Hi, I created a script that will allow you to download all files stored in document libraries in a given site collection. You can find it here: http://sharepointrelated.com/2014/11/11/download-all-content-in-a-site-collection/ Run the script as follows: Get-SPContent.ps1 -SiteCollection "" -Path "" If the path does not exist, the script will prompt you to create it ...

Read More

Hi fellow SharePointers, In my time being a SharePoint administrator, I have wondered if it was possible to create personal sites for users on the fly using PowerShell. This could be for any reason. Here is the TechNet gallery link: http://gallery.technet.microsoft.com/Create-personal-for-4a70e4ad If you have any questions, or improvement recommendations, please ...

Read More

When you use PowerShell for SharePoint administration, it is pretty frustrating to use the “Add-PSSnapIn Microsoft.SharePoint.PowerShell” every time you open your PowerShell console. Next time, try this: asnp *sh* This will add all SnapIns that contain “sh”. In most cases, this is just the Microsoft.SharePoint.PowerShell one. Saves time! ...

Read More

To remotely manage SharePoint 2010/2013 using PowerShell, perform the following steps: . On the client machine (the management server): Enable-WSManCredSSP -Role Client -DelegateComputer * -Force Set-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentials -Name WSMan -Value WSMAN/* Set-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentialsDomain -Name WSMan -Value WSMAN/* On the SharePoint server: Enable-PSRemoting -Force Enable-WSManCredSSP -Role Server -Force Enable-WSManCredSSP -Role Server -Force Afterwards it is possible to connect to the server using PowerShell from your management server, using the following cmdlet: Enter-PSSession SPServer -Authentication CredSSP -Credential DOMAIN\username Add the SharePoint ...

Read More