Azure Powershell - Set workingFolder
See original GitHub issueSimilar to the Powershell VSO Build Agent, can we set the workingFolder
when instantiating Azure Powershell?
Use Case: I am trying to download assets from Azure Blob storage to the build machines. From my build logs, the working directory is set to wherever Azure Powershell lives.
2016-01-27T20:16:32.1304033Z Found 5 blob(s)
2016-01-27T20:16:32.1414028Z Downloading to C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\default\tasks\AzurePowerShell\1.0.8\
Workaround: Use $PSScriptRoot to figure out where my script is and go from there.
Issue Analytics
- State:
- Created 8 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Azure Powershell - Set workingFolder · Issue #1148 - GitHub
Use Case: I am trying to download assets from Azure Blob storage to the build machines. From my build logs, the working directory...
Read more >Set-Location (Microsoft.PowerShell.Management)
This command sets the current location to the root of the HKLM: drive. Example 2: Set the current location and display that location....
Read more >how to call a powershell script of another directory in azure ...
It looks that workingDirectory is just appended to a script name without changing root directory. You can overcome this calling script ...
Read more >In-Depth Guide to Building a PowerShell Pipeline in Azure ...
If not set to true, the task will default to Windows PowerShell on Windows pipeline agents. workingDirectory, No, All, $(Build.SourcesDirectory) ...
Read more >Azure Pipeline PowerShell@2 Task can't run 'invoke-build ...
I'm trying to build a powershell module in an Azure pipeline (dev.azure.com). ... I set the debug flag to true to see if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ericsciple - let’s add this.
@RoopeshNair What is backlog feature 649929? I presume this has been moved to a private VSTS. If that is the case, how can we (the community) be aware of what’s going on with this issue?