Disclaimer
JUMPCLOUD EXPRESSLY DISCLAIMS ALL REPRESENTATIONS, WARRANTIES, CONDITIONS, AND LIABILITIES OF ANY KIND ARISING FROM OR RELATED TO THIRD-PARTY SOFTWARE, SCRIPTS, REPOSITORIES, AND APIS. JUMPCLOUD IS NOT REQUIRED TO SUPPORT ANY SUCH THIRD-PARTY MATERIALS AND ALL RISKS RELATED TO THIRD-PARTY MATERIALS ARE YOUR RESPONSIBILITY. PLEASE ALSO REVIEW THE JUMPCLOUD TOS.
Suspend User - Powershell Command
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ08-08-2023 08:37 AM
Hello everyone!
We had a question in the JumpCloud Slack Lounge the other day asking for the Powershell Command to suspend a user. While our Powershell Wiki does provide some options, @hoium gave us the quick and easy way to do it which I'm sharing here as well, with his permission.
Use this command to suspend a user:
Set-JCUser -UserID $user -state SUSPENDED
Thank you for contributing to our community @hoium ๐
Urvashi
Labels:
- Labels:
-
PowerShell
0 REPLIES 0
![](/skins/images/1519CD93B86343CA58368DF3BFFB373D/responsive_peak/images/icon_anonymous_message.png)
![](/skins/images/1519CD93B86343CA58368DF3BFFB373D/responsive_peak/images/icon_anonymous_message.png)