Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

azure devops set environment variable powershell

$myXml = [xml](Get-Content ./MyXml.xml)  
$departmentId = $myXml.Department.Id

Write-Host "##vso[task.setvariable variable=DepartmentId;]$departmentId"
Write-Host "Set environment variable to ($env:DepartmentId)"

Get-ChildItem Env:

Write-Host "Department Id ($departmentId)"
Comment

PREVIOUS NEXT
Code Example
Shell :: how to clear a file without deleting it linux 
Shell :: cert manager version 
Shell :: how to git commit and push 
Shell :: how to speed up internet connection ubuntu 20 
Shell :: how can I check memory usage in linux? 
Shell :: bash log function 
Shell :: pyinstaller add files 
Shell :: docker get in python container 
Shell :: vscode manually install extension 
Shell :: rman commands 
Shell :: powershell create new file and open 
Shell :: remove file from repo 
Shell :: save command output 
Shell :: sudo: gem: command not found 
Shell :: vault installation 
Shell :: linux check current umask 
Shell :: stash with name 
Shell :: scp copy directories 
Shell :: xampp phpmyadmin not found 
Shell :: Add a Remote Repository in git command 
Shell :: linux kill ssh connection 
Shell :: static address raspberry 
Shell :: powershell set environment variable and run command 
Shell :: gnu octave ubuntu 20.04 
Shell :: git diff ignore file 
Shell :: install virtualbox linux 
Shell :: how to use scp 
Shell :: add line to beginning of file shell script 
Shell :: sed replace into new file 
Shell :: install virtualbox 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =