Open davecore82 opened 3 years ago
Actually, choosing Yes to that prompt does what I needed. It's just that I never visually get to see the initiative before choosing Yes. Does the script automatically choose the initiative if there's only one possibility? If so, maybe the script shouldn't make that assumption and should show the list, even if there's only one initiative in it.
@davecore82 - good point - yes it does automatically choose it if there is only one. Given this is a "write" operation, let me see if I can get some time to just add it in as a single menu item to select. Most folks when they get going will bypass the menu and just use params but when you are getting started using the script, makes total sense.
When trying to run the script Trigger-PolicyInitiativeRemediation.ps1 in management group mode, both interactively or by specifying parameters, the script asks:
I am afraid to say Yes because I don't know what Initiative it's trying to run.
Full output of both methods: