PowerShell / DSC

This repo is for the DSC v3 project
MIT License
135 stars 22 forks source link

Enable metadata in config to declare if admin is required or not #351

Closed SteveL-MSFT closed 4 months ago

SteveL-MSFT commented 4 months ago

PR Summary

Enable using metadata to declare if a config requires admin or non-admin. A helper function library added using different methods depending on Windows and non-Windows. This can be used later with RunAsGroup resource.

PR Context

Fix https://github.com/PowerShell/DSC/issues/258