Thursday, May 12, 2022

New Release: SharePointDsc v5.2 has been published!

This new release of SharePointDsc includes one new resource (SPSearchCrawlDatabase), improved logging and several bugfixes. It also includes a fix for a bug introduced in v5.1, where the SPSearchIndexPartition would only return the first server running the index partition. Checkout the change log below for more information about all changes.


You can find the SharePointDsc v5.2 in the PowerShell Gallery.


NOTE: We can always use additional help in making SharePointDsc even better. So, if you are interested in contributing to SharePointDsc, check-out the open issues in the issue list, check-out this post in our Wiki or leave a comment on this blog post.


Improvement/Fixes in v5.2:


  • SharePointDsc
    • Added the SPShellAdmin resource to the ReverseDsc export
    • Updated ReverseDsc version requirement to
  • SPFarmPropertyBag
    • Added support for boolean and int32 data types
  • SPInstall
    • Added additional ExitCode for incorrect license key
  • SPSearchCrawlDatabase
    • New resource
  • SPSearchIndexPartition
    • Added additional logging to improve troubleshooting
  • SPShellAdmin
    • Added additional logging to improve troubleshooting
    • Added Export logic
  • SPWebAppPeoplePickerSettings
    • Added the CustomFilter parameter to the resource
    • Added the ShortDomainName parameter to the resource


  • SharePointDsc
    • Fixed incorrect table formatting in the resource table of the Wiki
  • SPSearchIndexPartition
    • Fixed issue where only one index component was returned after a regression issue in v5.1
  • SPSearchServiceApp
    • Fixed issue where the database permissions were not corrected for new search service applications.
  • SPShellAdmin
    • Fixed issue where the farm account was the owner of the database. Now including the farm account in those cases.
  • SPWebApplication
    • Fixed an issue where the Set method tried to use the Parameter SecureSocketsLayer with Set-SPWebApplication on SharePoint Server older than Subscription Edition.
  • SPWebAppPeoplePickerSettings
    • Fixed an issue where the Set method would not update a non-mandatory parameter on an existing SPWebAppPPSearchDomain


A huge thanks to the following guys helping with submitting Pull Requests, testing deployments and submitting issues:
Christoph Hannappel and Bart Vermeersch!


Also, a huge thanks to everybody else who submitted issues and all that support this project. It wasn’t possible without all of your help!


For more information about how to install and use SharePointDsc, check our Wiki.


Let us know in the comments what you think of this release! If you find any issues, please submit them in the issue list on GitHub.


Happy SharePointing!!

Posted at