@Rounak ,
As above AnZa's comment has mentioned:
Based on your description, it seems that the new module is prompting for confirmation even when you enter “A” (Yes to All) while executing a command. This could be due to the -Confirm
parameter being set to true
by default in the new module.
To suppress the confirmation prompt, you can add the -Confirm:$false
parameter to your commands. Here’s an example:
import-csv "C:\Reports\Org\Title.csv" | foreach {Set-User -Identity $.UPN -Title $.Title -Confirm:$false}
You can use this syntax for all your commands to suppress the confirmation prompt.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.