Version 1.8.10 of the USGSSysAdminTools (USAT) PowerShell module has been released to the Stable channel! Updates include:
- New Rename-UsgsComputer tool (alias ‘rnuc’) to rename a computer (using the new naming standards), rebooting if no users are logged in (see usage example on the USGS Naming Standards Update page)
- New Grant-RenameComputer tool, which grants two minor privileges on the top-level Center OU to the local AD Joiners group (so Rename-UsgsComputer works)
- New Get-Log4jFiles tool with the code CISA/CERTCC published on GitHub (v1.0.4)
- New “-FeatureUpdateOnly” parameter on the Install-ConfigMgrUpdates tool for remote initiation of feature udpates (or list by also including “-WhatIf”)
- Fixes that should ease installation on server OSes
The USAT module should self-update the next time PowerShell starts; 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/