Version 2.3.3 of USAT, the USGS SysAdmin Tools PowerShell module, has been released to the Stable channel! Updates include:
- New Export-LapsPasswords tool for producing a CSV file of usgs_laps passwords for all Windows machines in Active Directory
New Remove-UserFromComputer tool for removing a local account and its profile from computer(s) – e.g., for local admin accounts in use prior to the switch to usgs_laps - New Remove-UserProfile tool for removing a profile from computer(s)
- Remove-UsgsComputer now prompts for a Serial # if the system to be removed is a Mac and requests removal from Jamf via an email to the Service Desk
- Updated tests for computer response to include confirmation that the responding computer is the intended one
- Updated Remove-UsgsComputer to use SSL when sending email
- Changed prompt for new user setup to an instructional message so it’s less disruptive to automation
- Fixed an error that often occurred during USAT installs on “fresh” builds
- Added warnings when deprecated names or aliases are used
- Re-signed code with a non-expired code-signing certificate
The USAT module should self-update on PowerShell startup within the next three days; note that you need to either restart PowerShell after that or run this command before changes take effect: Import-Module ‘USGSSysAdminTools’ -Force
For more information: https://tst.usgs.gov/scripting-and-automation/