Questions tagged [powershell]

PowerShell is a command line and scripting utility for use with Windows.

Filter by
Sorted by
Tagged with
8
votes
2answers
897 views

Ansible sporadic errors with Windows machines

I'm running into some on and off issues when using windows hosts in my Ansible playbooks. I'm running Ansible 2.3 with pywinrm 0.2.2 installed. I'm using basic authentication with the local ...
7
votes
2answers
437 views

Application to run PowerShell scripts

I've created a number of scripts in PowerShell that require a number of parameters to be manually entered. Unfortunately, until we have our Jenkins server setup to support these additional tasks I ...
4
votes
2answers
2k views

How to automate Powershell's interactive Get-Credential method?

I am trying to write a python script which automates the powershell's Get-Credential method. Here is something i wrote: import subprocess COMMAND_LINE = 'powershell' powershell = subprocess.Popen(...
3
votes
1answer
339 views

Why is my build script only failing when it is run in a vNext build?

I am running a build process on an on-prem server with TFS 2017 and vNext. The build works, but it takes 20+ minutes. This is an application that does msbuild, ngc, yarn, and karma. I would be totally ...
2
votes
1answer
4k views

Configure Docker to use SSL for a private registry on Windows 10?

Trying to use a customer registry from a Windows 10 system - a native Docker client in PowerShell. PS > docker --version Docker version 17.06.0-ce, build 02c1287 PS > docker pull REPO_URL/...
1
vote
2answers
2k views

Powershell script in jenkins is hanging

I'm building a process to automate deploys using Jenkins and I have an issue getting the code on the server I have a powershell script on the deploy server that all it does is do an hg update command....
1
vote
0answers
605 views

Running a powershell script via Jenkins on a Linux host

I have a powershell script cloned into my workspace from a bitbucket repository. If I login to the Jenkins server cli I can run it by doing cd /var/lib/jenkins/workspace/powershell pwsh ./psscript....
1
vote
0answers
38 views

VSO Release launch published exe

I have hosted VSO build agents building our exe and that pipeline setup. I am trying to deploy the produced exe to a dev testing environment. I have a deployment group set up and the files are being ...
0
votes
1answer
24 views

Problem with Vagrant : Nothing happens on vagrant up command

Versions Vagrant: 1.9.5 Provider: Virtualbox 5.2.30 Guest: precise32 Host: windows 7 -32bit, build:7600 Powershell: 2.0 Vagrant destroy & up output nothing happens here...just an empty directory ...
0
votes
0answers
3 views

Getting an Error . On using power-shell command to copy file/folder from Local system to Azure file share: Set-AzureStorageFileContent

To copy the folder/file from my local system to Azure File Share , i used below command:- Set-AzureStorageFileContent -Context $AzureStrContext.Context -ShareName sync-logs -Source $sourceDirectory -...
0
votes
0answers
13 views

Install docker on Windows Server 2016 fails due to SHA256

I want to install Docker Enterprise Engine on Windows Server 2016. I follow the official documentation, open powershell and type: Install-Module DockerProvider -Force Install-Package Docker -...
0
votes
0answers
30 views

Keep Azure Batch Service applications up to date with Azure Devops

I'm building a Release in Azure DevOps where we are deploying a software package as an application to be used in a batch service. The deployment uses the following commands via Azure Powershell ...