question archive Scenario You are an analyst at a small firm and your manager has tasked you with writing a script to automate tasks
Subject:Computer SciencePrice: Bought3
Scenario You are an analyst at a small firm and your manager has tasked you with writing a script to automate tasks. To test your script, you have been given a sandbox environment that mimics your live system. The domain contains 12 user accounts within three organizational units: Human Resources (HR), Finance, and Sales. Your manager has identified the need for scripts to automate the following tasks, to be divided up by you and your coworkers:
? Reset all the passwords of the employees of an organizational unit of your choice. Set the passwords to N..P@$$w0rd.
? Find all users with inactive and disabled accounts across all organizational units. Output the list to a text file named inactive_users.txt
Prompt In this assignment, we are challenging you to incorporate the following elements in each script:
? Repetition structure
? Compound conditional statement
? Variable declaration and usage