PowerShell DSC: Debug Mode Cannot Run Without Pressing Enter >10 Times

10-27-2021 02:18 PM
Occasional Contributor

https://github.com/Esri/arcgis-powershell-dsc/wiki/PowerShell-DSC-ArcGIS-Module-Command-Line-Paramet... says that running something like:

Invoke-ArcGISConfiguration -ConfigurationParametersFile C:\config\BaseDeployment.json -Mode InstallLicenseConfigure -DebugSwitch

Will enable additional logging. What it fails to say is that if you do that, then you aren't allowed to step away from the computer for the next 5+ minutes while pressing enter to all the "Confirm" prompts.

Constant Questions.png

Has anyone been able to get the incessant prompts to stop? I thought DSC was supposed to allow for automated deployments.

Without the Debug flag, the software does not incessantly ask for attention.

0 Kudos
1 Reply
by Anonymous User
Not applicable

I have not experienced this even using the -DebugSwitch.

What version are you running?

0 Kudos