The best methods to remove a server from the farm are to either use the psconfig wizard or run Disconnect-SPconfigurationDatabase If that has not happened and someone deleted the VM without first disconnecting the vm from the farm, please … Read More
If you ever have to migrate a search service application from one farm to the next. Do two things: Make sure that the farm’s use the correct SQL client Alias (cliconfg.exe) Run this powershell after you have migrated the … Read More
If you’re looking to find out who has been logging into machines in your domain, this powershell will tell you just that. You could change out the line that finds the last logon date where it is greater than the … Read More
Imagine that you are getting this message:(or, maybe you don’t have to imagine, because you are actually getting it) Sorry, something went wrong Could not load type ‘Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SPCorporateCatalogAccessor’ from assembly ‘Microsoft.SharePoint, Version=188.8.131.52, Culture=neutral, PublicKeyToken=71e9bce111e9429c’. Technical Details Troubleshoot issues with Microsoft … Read More
When your site wont start or is not loading properly there may be modifications to the web.config that have caused this and you might need to determine how to remove them. You’ve already verified that the application pool identity password … Read More
The following blog post works best with an empty index. In other words, it works best before your first full crawl, or immediately after you have reset the search index. Don’t use this for a search topology where the index … Read More
Credit for this post: Scott Fawley, SharePoint Guru Here is a handy script that MS sent while troubleshooting a Search issue in a customer’s 2013 Prod farm. This will show you the state of all partitions and replicas along with … Read More
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
To move the managed metadata database, take a copy only backup of it from your SQL server and then restore from files in your new SQL server. I’ll write a future post on that and put a link to it … 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