## p4add-depot ## aaron bockelie Function p4add-depot {param([Parameter(Mandatory = $true)]$Depot,$Owner,$Date,$Description,$Type,$Address,$Suffix,$Map) $servercheck = p4get-server if ($servercheck.pingsuccess.equals($true)) { $result = p4add-depotspec -depot $depot -owner $owner -date $date -description $description -type $type -address $address -suffix $suffix -map $map | p4 depot -i if ($result -match "saved") { p4get-depot $depot } else { write-error $result } } }
# | 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. |