Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ####################################################################################################
- ####################################################################################################
- #
- # ____ ____ _
- # / ___/ ___| |
- # | | | | | |
- # | |__| |___| |___
- # _____\____|_____| _ _ ____ _
- # | ____|_ __ __ _(_)_ __ ___ ___ _ __(_)_ __ __ _ | _ \ _____ _____ _ __ ___ __| |
- # | _| | '_ \ / _` | | '_ \ / _ \/ _ \ '__| | '_ \ / _` | | |_) / _ \ \ /\ / / _ \ '__/ _ \/ _` |
- # | |___| | | | (_| | | | | | __/ __/ | | | | | | (_| | | __/ (_) \ V V / __/ | | __/ (_| |
- # |_____|_| |_|\__, |_|_| |_|\___|\___|_| |_|_| |_|\__, | |_| \___/ \_/\_/ \___|_| \___|\__,_|
- # |___/ |___/
- #
- ####################################################################################################
- #
- # Enable / Disable AD Users
- #
- # Description: Enables and disables AD users based on CSV input, designed to be run on the hour.
- # Compares current time vs enable or disable time in CSV.
- #
- # Input CSV Format:
- # UserName,EnableTime,DisableTime
- # <String>,<Integer>,<Integer>
- # [AD username],[24 hour time],[24 hour time]
- #
- # Script Author: Shane Clayton, CCL
- #
- # Script Date: 27/1/2020
- #
- ####################################################################################################
- ####################################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement