After you finish running this script, you’ll need to create the work management service application, app management service application, subscriptions settings service application, and if you’re using powerpivot, then that would need to be configured too. There are other posts … Read More
When creating a farm using powershell, you need to create the managed accounts that your service applications will use. Here’s a script written by Stephen Swinney, Rackspace Senior SharePoint Engineer that does just that!
$Credentials = @()
#Create User Variables
$FarmUser = "Domain\SP_Farm"
$ServcAppUser = "Domain\SP_SA_AP"
$SiteAppUser = "Domain\SP_Site_AP"
$SearchSvcUser = "Domain\SP_SearchSvc"
#Create Password Variables
$FarmPass = ConvertTo-SecureString -String "$*t6uxNM3AL4_*R4" -AsPlainText -Force
$ServcAppPass = ConvertTo-SecureString -String "Htfa3S9^wZ6?CgmX" -AsPlainText -Force
$SiteAppPass = ConvertTo-SecureString -String "Rt)4(97#kDum" -AsPlainText -Force
$SearchSvcPass = ConvertTo-SecureString -String "2t+Z(tm2)NU6" -AsPlainText -Force
#Create object & add to array
$Credentials += New-Object -TypeName "System.Management.Automation.PSCredential" -ArgumentList $FarmUser, $FarmPass
$Credentials += New-Object -TypeName "System.Management.Automation.PSCredential" -ArgumentList $ServcAppUser, $ServcAppPass
$Credentials += New-Object -TypeName "System.Management.Automation.PSCredential" -ArgumentList $SiteAppUser, $SiteAppPass
$Credentials += New-Object -TypeName "System.Management.Automation.PSCredential" -ArgumentList $SearchSvcUser, $SearchSvcPass
#Loop through array and create managed accounts
foreach ($Credential in $Credentials)
Write-Host "Creating new managed account:" $Credential.UserName -foregroundcolor cyan
New-SPManagedAccount -Credential $Credential
Write-Host "All Managed Accounts Created" -foregroundcolor cyan
Note: you could also … Read More
Let’s say you have this ginormous farm with hundreds of databases and you want to update the farm to a new CU. First thing you can do is get a list of your content databases using this powershell
Get-SPContentDatabase | ft DisplayName | out-file c:\PathToFile.txt
## You may also want to know the web application that they're attached
Get-SPContentDatabase | ft DisplayName, webApplication | out-file c:\PathToSomeOtherFile.txt
## This above powershell will give you the web application name, if you want the url run something like this
Get-SPWEbApplication | ft URL
This video builds the WFE Distributed Cache Minimum Role server using the AutoSPInstaller.
In this video we go over filling out the AutoSPInstaller, staging the bits on the SharePoint Application and Search Server, manually running the per-requisite installer, and finally creating the farm by running the AutoSPInstaller. The video is a little over … Read More
In this video I demonstrate getting the dev environment able to be opened using RDP connections. Like all my videos, I show some common issues encountered and how to overcome those issues.
In this video, I demonstrate creating a domain, creating SharePoint service accounts, and overcoming a couple of common issues with joining a server to the newly created domain. the environment is based in hyper-V; but, you could do it in … Read More
Introduction This introduction will cover a few of the key concepts we use throughout the book. For example, mapping drives, pinning items to your start menu, turning off the User account control prompts in the home lab (not in production), … Read More
The Excel services service application has been removed from 2016 SharePoint and moved into the Office Online Server. You’ll need to spin up the Office Online Server on a separated server and bind it to your SharePoint farm if you … Read More