Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Remove-ADGroupmember disable confirm prompt

$
0
0

Surely, I am missing something right? I am trying to remove users from a group using:

Remove-ADGroupMember -Identity "GroupName"  -member $User

add it prompts me for each object. I will be scheduling this as a task, and need it it to run without interaction. Get-help says its not required. so I am confused. please help!


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>