Question
You have an Azure subscription. The subscription contains multiple virtual machines that run Windows Server.
You need to create an Azure Machine Configuration package.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Explanation
1. Create a PS1 file: write the PowerShell Desired State Configuration (DSC) configuration, for example Configuration MyConfig { ... }, and save it as a script such as MyConfig.ps1.
2. Generate a MOF file: run the script to compile the configuration. This produces localhost.mof, which you usually rename to the package name, for example MyConfig.mof.
3. Generate a ZIP file: run New-GuestConfigurationPackage with the compiled MOF. It bundles the MOF, the required DSC resource modules and a metaconfig file into the package. The package must be a .zip file and can't exceed 100 MB uncompressed.
Machine configuration does not use YAML or CAB files.