If you automate New-AzureStorageAccount in a PowerShell script you ensure you only lowercase letters and digits for the value of the -StorageAccountName parameter. If you base that value on other parameters or variables (for example the name of one of your websites)...
One-liners PowerShell script that will identify all Workflow History lists in the farm: $farm = Get-SPFarm; $websvcs = $farm.Services | where -FilterScript {$_.GetType() -eq [Microsoft.SharePoint.Administration.SPWebService]}; foreach ($websvc in $websvcs) { foreach...
One-liner Run this one-liner on each front-end Web server in the farm, as the settings on each of them may vary. $s = [Microsoft.SharePoint.Administration.SPServer]::Local; $si = $s.ServiceInstances | where { $_.TypeName -eq “Microsoft SharePoint Foundation...
One-liner Just replace the values in $webName, $docLibName, $docFileName and $docCount with the website URL of your existing site, the existing document library you want to populate, the existing document you want to use for all items created, and the number of items...
Recent Comments