Category Archives: PowerShell DSC

PowerShell DSC: Get Product IDs of Installed Products

The PowerShell DSC Package resource requires a ProductId and the exact product name. If you aren’t sure what product id or product name associated with the software you wish to install, you can try this method: Install the software manually … Continue reading

Posted in PowerShell, PowerShell DSC | Leave a comment

Azure: Troubleshooting PowerShell DSC Resources

The errors you get back from the PowerShell DSC extension in Azure can be frustratingly terse. Here’s a way to troubleshoot and try out PowerShell DSC changes without having to deploy the extension over and over again. After the extension … Continue reading

Posted in Azure, PowerShell, PowerShell DSC | Leave a comment

PowerShell DSC: Script Resources to Download and Install .Net 4.6.2

Here’s a snippet from a PowerShell Desired State Configuration file that uses a Script Resource to download and install the .Net Framework 4.6.2. You can incorporate this into an existing DSC configuration file to ensure .Net 4.6.2 is installed. …. … Continue reading

Posted in PowerShell, PowerShell DSC | Leave a comment