Closed PowerShellCrack closed 3 years ago
Another thing I noticed with most articles I read, a native thing is to check for .net 4.5 is installed, would it be ideal to include that as prereq check in the XSCCMDSC module? We all agree that .net would be native installed on most Windows Server build, but it should be a check just in case.
WindowsFeature 'NetFramework45' { Name = 'NET-Framework-45-Core' Ensure = 'Present' }
I was trying to not require a specific version of the SqlServerDsc Module but was running into some issues. That is something I can look into again. There isn't really a way to download the module in a config since if that module is used in the config it has to be present when it is compiled.
xSccmSqlSetup
On that note I would include more options if I was able to splat a resource but without created a function there isn't a native option.
Closing this issue as the prereqs can be used before the Sql composite.
README.md
Could there be the ability to have the DSC during build run a Save-Module any additional requiredmodules for offline support. For instance xSCCMSQLSetup requires the SqlServerDsc version 13.5.0. I would have to drill into each module to find this.
eg.
Save-module sqlserverdsc -Path U:\DSC\ConfigMgrCBDsc\output\RequiredModules -RequiredVersion 13.5.0
in README all examples go nowhere
xSCCMSQLSetup
InstallSqlDataDir --> README states default is C:, so I assumed if I change it to E: it would install on the VM E drive, yet the code states it needs just a letter (eg. E). The README should be changed or add a Filepath validation in the module to make sure E:\, E: or E can be used.
UpdateEnabled--> Great feature nut my VM's are offline. Any way there could be an autocheck for an updates folder in the SQLInstallPath and add the param to the installer (eg. /UpdateSource )
Reference: https://docs.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-from-the-command-prompt?view=sql-server-ver15
I don't see the ability to add features to SQL. I'm installing Sql 2014 and SSMS is native to the module (line 259: Features = 'SQLENGINE,RS,CONN,BC,SSMS,ADV_SSMS' ), However I would like to add Reporting server and not the SSMS that's native but a newer version from the external installer (18.5) and not to do both. I could also see where SSMS is sometime not used directly on the server but would be on a Admin workstation so an option. Adding features parameter would be useful.
Or do you think I should just use the SqlServerDSC module?