diff --git a/Tasks/AzureFileCopyV4/Utility.ps1 b/Tasks/AzureFileCopyV4/Utility.ps1 index fe1b2f359974..e83a6a65fff9 100644 --- a/Tasks/AzureFileCopyV4/Utility.ps1 +++ b/Tasks/AzureFileCopyV4/Utility.ps1 @@ -1325,6 +1325,6 @@ function CleanUp-PSModulePathForHostedAgent { write-verbose "$azureModulePath is not present in $newEnvPSModulePath" } - $azPSModulePath = "C:\Modules\az_1.6.0" + $azPSModulePath = "C:\Modules\az_3.1.0" $env:PSModulePath = $azPSModulePath + ";" + $newEnvPSModulePath } \ No newline at end of file