Restore Nuget using Powerful Powershell #script to restore the pacakge [cmdletBinding()] param ( [parameter(Mandatory = $true)] $Solutions, #relative to bamboo working directory [parameter(Mandatory = $true)] $BuildWorkingDirectory, [parameter(Mandatory = $true)] $NugetPackage ) $SlnList = $Solutions -split “;” $NugetPackage = Join-Path $BuildWorkingDirectory $NugetPackage foreach($Sln in $SlnList) { $sln = Join-Path $BuildWorkingDirectory $sln Write-Host “$sln” Write-Host “$NugetPackage” if(Test-Path $Sln) { try { Write-Host[…]

Xcopy Command Line With Error Handling #Move wiqserver.exe and wiqserver.exe.config file to TaskExecutable Folder inside bin. [cmdletBinding()] param ( [parameter(Mandatory =$true)] [ValidateNotNullOrEmpty()] $Source, [parameter(Mandatory =$true)] [ValidateNotNullOrEmpty()] $Dest, [parameter(Mandatory =$true)] [ValidateNotNullOrEmpty()] $FileList ) if (!(Test-Path $Source)) { throw “Source doesn’t exist” } if (!(Test-path $Dest)) { mkdir $Dest } write-output “The file list passed as argument is ” $FileList if(($FileList -eq $null)[…]

Jfrog command line utility for uploading and downloading the artifacts It is mostly likely that you would come across a situation where you would like to push the artifact to an artifactory location…Below is the command line… It basically use a windows utility jfrog.exe to do the same. However there are others utility for linux and Mac as well… u: it is an abbreviation for[…]

Agile: Transition To Agile Project Manager

Transition to Agile Project Manager 1)   No micromanagement of the team. 2)  Don’t ask status of their work, instead help them. 3)  Don’t blame any individuals for failure instead appreciate the learning from failure 4)  Move from command & control individual to servant leader. 5)  Be a good listener and try to understand other’s[…]