This may be an Orchestrator issue, but I've decided to post here first. I'm working primarily with DFSN cmdlets but have come across this issue with others as well (like remove-ADGroupMember).
When attempting to run the command "Remove-DfsnFolder $path -confirm:$false" I receive the error:
"A command that prompts the user failed because the host program or the command type does not support user interaction. The host was attempting to request confirmation with the following message: Perfoming operation "Delete DFS Namespace folder" on Target "\\DOMAIN.NET\Users\!test"
I've tried this via the Run .NET Script activity calling Powershell.exe. I've tried running inside of Invoke-Command. I've tried using the Execute PS Script activity as well. I've tried setting $ConfirmPreference="None".
Any thoughts on why Orchestrator will not recognize the non-use of user interaction?