I have searched high and low trying to figure out how to output the results for a simple PowerShell script file named Admin.ps1 that contains the cmdlet Get-ADDefualtDomainPasswordPolicy from the Run Command tool to an output tool, in this case the Browse tool. However, when I do this I get this well documented error.
All of the solutions I've read indicate you have to identify a Read source when you have a Write Source, even if it’s not technically necessary. So, in my workflow I made the Admin.ps1 file the read source and now workflow runs and I can see PowerShell opening and running with no error codes returned.
However, what appears in the Browse tool is the Cmdlet found in the Admin.ps1 file. This is obviously not what I want. I want to see the results from the Cmdlet.
If anyone can show me how to do this, you're automatically on my Christmas list.
Solved! Go to Solution.
Glad to hear @john_dwyer.
All the best,
BS