Was running into the following error in my installation:
"This command cannot be run due to the error: The requested operation requires elevation."
I removed the -credential option in line 97 and replaced it with -Verb runAs and it runs as the setup account (which I specified in my DSC config) without error in an "Run As Administrator" window.
Was running into the following error in my installation: "This command cannot be run due to the error: The requested operation requires elevation."
I removed the -credential option in line 97 and replaced it with -Verb runAs and it runs as the setup account (which I specified in my DSC config) without error in an "Run As Administrator" window.