New release: SharePointDsc v4.6 is here!
Published Apr 02 2021 08:36 AM 5,067 Views
Microsoft

It is a Good Friday to release a new version of SharePointDsc, so v4.6 has been published to the PowerShell Gallery. This release fixes a bunch of issues, but it also includes a changes to the requirements: ReverseDsc is no longer required. We removed this requirement so it is not required to install the module if you only deploy changes to SharePoint environments.

 

Instead the Export-SPConfiguration cmdlet now checks if the module is present and throws an error when it is not. That way, you only need ReverseDsc when you want to export an existing configuration.

 

You can find the SharePointDsc v4.6 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 v4.6:

Added
  • SharePointDsc
    • Export-SPDscDiagnosticData cmdlet to create a diagnostic package which can easily be shared for troubleshooting
  • ReverseDsc
    • Added a check in Export-SPConfiguration/Start-SharePointDSCExtract to check if ReverseDsc is present or not. Show instructions if it isn't
    • Added DocIcon to export GUI
    • Renamed export cmdlet to Export-SPConfiguration, to match Microsoft365DSC naming. Added old Start-SharePointDSCExtract as alias
Changed
  • ReverseDsc
    • Made the export GUI logic more dynamic
  • SPFarmAdministrators
    • Added check to see if a central admin site is returned and stop if it isn't
  • SPManagedMetaDataServiceApp
    • Added check to see if a central admin site is returned and stop if it isn't
  • SPSite
    • Added check to see if a central admin site is returned and stop if it isn't
Fixed
  • SPAccessServiceApp, SPAccessServices2010, SPAppManagementServiceApp, SPBCSServiceApp, SPExcelServiceApp, SPMachineTranslationServiceApp, SPManagedMetadataServiceApp, SPPerformancePointServiceApp, SPPowerPointAutomationServiceApp, SPProjectServerServiceApp, SPPublishServiceApplication, SPSearchCrawlRule, SPSearchFileType, SPSearchServiceApp, SPSecureStoreServiceApp, SPServiceAppSecurity, SPSubscriptionSettingsServiceApp, SPUsageApplication, SPUserProfileProperty, SPUserProfileSection, SPUserProfileServiceApp, SPUserProfileSyncConnection, SPUserProfileSyncService, SPVisioServiceApp, SPWordAutomationServiceApp, SPWorkManagementServiceApp
    • Fixed issue with the Name parameter of Get-SPServiceApplication, which is case sensitive
  • SPExcelServiceApp
    • Fixed issue where PSBoundParameters was used multiple times, but manipulated at an early stage, breaking all subsequent usages
  • SPInstallLanguagePack
    • Fixed issue in the Norwegian Language Pack detection
  • SPSearchManagedProperty
    • Fixed issue where setting Searchable=True resulted in an error
  • SPSearchResultSource
    • Clarified the use of ScopeName and ScopeUrl with SSA as ScopeName and added examples
  • SPUserProfileServiceApp
    • Fixed issue where MySiteHostLocation was return from Get method including port number, which causes the Test method to fail
  • SPWebAppAuthentication
    • Fix issue in Get method to return Null when zone does not exist. That way the Test and Set method can detect a non-existent zone and throw a proper error.
  • SPWordAutomation
    • Fixed issue where the resource never went into desired state when using AddToDefault
Removed
  • SharePointDsc
    • Removed the ReverseDsc dependency for the SharePointDsc module since the module is only required when performing an export
 

A huge thanks to everybody 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 SharePointDsc, check our Readme.md.

 

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!!

Co-Authors
Version history
Last update:
‎Apr 02 2021 08:36 AM
Updated by: