Function p4update-users { $message = "This command will re-create all users on the Perforce server.`r`nWARNING: It will also invalidate EVERY auth ticket in the system.`r`nWARNING: If you ever wanted to press the 'recompute encryption key hash' button, this is the function to use.`r`nWARNING:`r`nWARNING: You have been warned." write-warning $message -warningaction Inquire p4add-newuser -userobject (p4get users | %{$_.user}) -force }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 8410 | Aaron Bockelie |
Root checkin, Perforce Powershell wrapper. Still lots of work to be done, namely documentation and deployment tools, for instance, get-help needs work on the majority of these tools. Additionally, the /lib structure needs a little bit of condensation, probably into major groups (depot, userspec, clientspec, group management, and so on) that way function family can exist under each resource. |