Dsc.7z

Use the command 7z a archive_name.7z ./folder_path to compress your resources into a single file.

You must first ensure 7-Zip is installed on the target machine. This can be automated using a DSC configuration that runs an MSI installer. DSC.7z

Once installed, you can use a custom resource to point to your DSC.7z archive and specify a destination path for the extracted contents. Use the command 7z a archive_name

If you are managing files that are compressed in a .7z format, you can automate their extraction using a DSC script. Here is a brief look at how that process works: DSC.7z

Run the configuration using Start-DscConfiguration to apply the settings to your local or remote machine. Creating Your Own Archive