You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the resource with 'Absent' flag, I'm getting the following error: ##[error]PowerShell Desired State Configuration does not support execution of commands in an interactive mode. Please ensure that the underlying command is not prompting for user input, such as missing mandatory parameter, confirmation prompt etc. + CategoryInfo : NotSpecified: (:) [], CimException + FullyQualifiedErrorId : System.NotSupportedException,Microsoft.IIs.PowerShell.Provider.RemoveVirtualDirectoryCom mand + PSComputerName : IPAddress
'Ensure' works perfectly but when I run it with 'Absent' it brings up the above error.