From 77e7f9eb1c4675e1574f78b63454dee2ed452079 Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 11 Aug 2021 17:38:10 -0400 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index e6a2fb8..cd27c45 100644 --- a/README.md +++ b/README.md @@ -350,6 +350,21 @@ Remove user from group ```sh huc ActiveDirectoryRemoveUserFromGroup -h=192.168.1.5 -u=administrator -p=testpass testuser MyGroup1 ``` + +Enable user +```sh +huc ActiveDirectoryEnableUser -h=192.168.1.5 -u=administrator -p=testpass testuser +``` + +Disable user +```sh +huc ActiveDirectoryDisableUser -h=192.168.1.5 -u=administrator -p=testpass testuser +``` + +Disable users who have not logged on in the past 7 days +```sh +huc ActiveDirectoryDisableUsers -h=192.168.1.5 -u=administrator -p=testpass -l=7 +```   ### Google Sheets For setting up the Google account see...\