Similarly, you can create a PowerShell script to perform the same task:
* **Modify a user account**:
lusrmgr /group list