Back
How can I rename a file in a release definition in Visual Studio Team services? Is there a built-in or marketplace task available or otherwise, how can this be achieved?
Param( [string]$pathToFileToRename)Rename-Item $pathToFileToRename NewName.txt
Param
(
[string]$pathToFileToRename
)
Rename-Item $pathToFileToRename NewName.txt
pathToFileToRename $(System.DefaultWorkingDirectory)/somepath/CurrentName.txt
31k questions
32.8k answers
501 comments
693 users