Dynamically Determine a DSC Configuration Name Inside a Configuration

I ran across a scenario where I needed to reference the name of the configuration inside the configuration. I was looking for an automatic variable that contained this information, however I was unable to locate one searching online or by asking colleagues. The suggestions I received were to call the Get-PSCallStack cmdlet or use the $MyInvocation automatic variable….

0

Install SQL Server 2017 Using PowerShell Desired State Configuration

How many times have you clicked through the SQL Server installation interface just clicking the same old buttons, entering the same old information, not giving it much of a second thought? Then the installation finishes and the realization of “I forgot to specify the DBA group in the sysadmins role” hits. Now you have to…

0