I am running a series of Remove-NetIPAddress and New-NetIPAddress powershell commands. They run fine in interactive mode locally on the machines.
When run through ansible, they fail as they usually prompt the user to confirm the actions.
I have tried -Force, -Confirm:$false to no avail. When I use them, the plays simply hang.
Does anyone know how to get "interactive" powershell commands working?