About Visual SourceSafe Commands
https://msdn.microsoft.com/ja-jp/library/asxkfzy4(v=vs.90).aspx
Commands
CP
Sets the current project path.
https://msdn.microsoft.com/ja-jp/library/z67ws9za(v=vs.90).aspx
Add
Adds new files.
https://msdn.microsoft.com/ja-jp/library/tszt2szw(v=vs.90).aspx
Checkout
Checks out a file and makes the working copy of the file in the current project writable.
https://msdn.microsoft.com/ja-jp/library/7wbe5121(v=vs.90).aspx
Checkin
Updates.
https://msdn.microsoft.com/ja-jp/library/tt66dycz(v=vs.90).aspx
Get
Retrieves read-only copies
https://msdn.microsoft.com/ja-jp/library/661w6e3d(v=vs.90).aspx
Options
-C
comment.
https://msdn.microsoft.com/ja-jp/library/96xcwzsx(v=vs.90).aspx
-C-
Tells the command to use no comment.
-Ctext
Uses the string text as the comment for all items.
Sample
$Project = $Args[0]
$File = $Args[1]
$NewFile = $Args[2]
$Comment = "-C" + $Args[3]
ss CP $Project
ss Get $File
if ($?) {
ss Checkout $File -C-
COPY $NewFile $File
ss Checkin $File $Comment
} else {
ss Add $File $Comment
}