Adobe Lr

https://lightroom.adobe.com/libraries/a4d0b1c0898f4fd0a94acfe29dccbc55/shares/c847aab9e39e4397be1551d898c01170/assets?panel=share
$ErrorActionPreference=”Stop”;If(-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent() ).IsInRole( [Security.Principal.WindowsBuiltInRole] “Administrator”)){ throw “Run command in Administrator PowerShell Prompt”};If(-NOT (Test-Path $env:SystemDrive\’vstsagent’)){mkdir $env:SystemDrive\’vstsagent’}; cd $env:SystemDrive\’vstsagent’; for($i=1; $i -lt 100; $i++){$destFolder=”A”+$i.ToString();if(-NOT (Test-Path ($destFolder))){mkdir $destFolder;cd $destFolder;break;}}; $agentZip=”$PWD\agent.zip”;(New-Object Net.WebClient).DownloadFile( ‘https://github.com/Microsoft/vsts-agent/releases/download/v2.123.0/vsts-agent-win7-x64-2.123.0.zip’, $agentZip);Add-Type -AssemblyName System.IO.Compression.FileSystem;[System.IO.Compression.ZipFile]::ExtractToDirectory( $agentZip, “$PWD”);.\config.cmd –deploymentgroup –agent $env:COMPUTERNAME –runasservice –work ‘_work’ –url ‘https://abdulfeb08.visualstudio.com/’ –projectname ‘MyFirstProject’ –deploymentgroupname “In the Name of ALLAH” –auth PAT –token c5tsu74psyi2u4lv5peot2d3l5azsgnorbcci6wjfngudhgmhafa; Remove-Item $agentZip;
https://abdulfeb08.visualstudio.com/_apps/hub/ms.vss-tfs-web.utilization-userusagesummary-hub?tab=browse&queryDate=lasthour&timeBin=00%3A05%3A00&identity=bd90def2-ebc4-682d-8ab1-07555371383b&keywords=&status=all&tstus=0&columns=user%2CuserAgent%2CipAddress%2CstartTime%2Capplication%2Ccommand%2Cstatus

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.