How awesome would it be if we were allowed to export a SharePoint environment's configuration into a PowerShell script allowing you to easil
How awesome would it be if we were allowed to export a SharePoint environment's configuration into a PowerShell script allowing you to easily rebuild your environment. Let's assume I spend 2 hours configuring my SharePoint farm using the GUI, it'd be awesome if I could somehow, within Central Administration, export my environment's configuration (Web Apps, Service Apps, services Enabled, etc). I know this is a long stretch and would probably very hard to accomplish, but it'd be awesome.
Brian Lalancette commented
Nik, have a look at https://spaudit.codeplex.com/. It shows a lot of promise - it doesn't export to a PowerShell script, but to XML which in combination with an existing script (AutoSPInstaller) could arguably provide the same functionality.
Tom Burke commented
This would absolutely be helpful. If done right, it could help get around the limitation of creating a site template out of a publishing site. One trick would be including content as well, but that wouldn't have to be a day-one requirement. And doable on SharePoint Online!