winrm Questions
5
I am facing an issue with deployment on Windows 2008 server using Ansible. I have a jenkins pipeline which has an Ansible Deployment stage wherein I drop the files on to the target servers from inv...
Osmometer asked 12/9, 2018 at 20:19
3
Solved
I want to use WinRM with https transport. I've bought a Comodo certificate (the error states I cannot use a self-signed certificate) with the Subject matching my FQDN (Full computer name in System)...
Fetid asked 27/1, 2017 at 9:5
1
Solved
I'm trying to collect some registry values from remote server using StdRegProv class:
Invoke-Command -ComputerName $ComputerHost -Credential $cred -ScriptBlock { Get-WmiObject -List -Namespace &quo...
Willettewilley asked 30/10, 2023 at 11:7
6
Solved
To run powershell commands on a machine from a remote machine we have to add the remote machine to the trusted hosts list of the host machine.
I am adding machine A to machine B's trusted hosts us...
Lebna asked 4/2, 2014 at 9:32
4
Solved
After configuring winRM on a windows server and filling all needed information to connect :
---
### winrm / win connection ###
ansible_winrm_realm: *My AD Domain*
ansible_connection: winrm
ansibl...
3
Solved
I am trying to run powershell code from my computer to vm on my computer, but i keep getting this error:
Connecting to remote server failed with the following error message :
The WinRM client ...
Kosak asked 15/4, 2013 at 7:44
2
C:\Users\Administrator>winrm quickconfig
WinRM already is set up to receive requests on this machine.
WSManFault
Message
ProviderFault
WSManFault
Message = Unable to check the status of the fir...
Sisile asked 5/2, 2016 at 11:19
3
I am using windows 7 machine, installed windows power shell. How to ensure that the Windows Firewall is configured to allow Windows Remote Management connections from the workstation. For example:
...
Address asked 22/2, 2017 at 6:27
0
I have on Windows server certificate which is valid and active and WinRM listener is active as well on port 5986 (telnet works) for WinRM connection that needs to be established from the Linux serv...
Cecelia asked 4/11, 2021 at 8:46
1
Is anyone aware if there is a way to open a persistent PowerShell session with PyWinrm that maintains state and can be called multiple times? I'm trying to do something like the following:
#!/bin/...
Redheaded asked 2/12, 2016 at 5:32
2
Solved
While trying to connect to a windows VM through Ansible I get this issue:
TASK [setup] *******************************************************************
<10.xx.xx.xx> ESTABLISH WINRM CONNE...
4
I try to use powershell PSSession cmdlets, but I'm struggling with Access Denied Error.
What I try to do is using Administrator Account I run command New-PSSession (or Enter-PSSession) and unfortu...
Invective asked 3/4, 2017 at 17:6
6
I'm testing WinRM connection using Command Prompt on my local and remote machine and my question is devided into two parts.
PART I
I tested TCP/IP connectivity by using ping command to ping : IP ...
Technocracy asked 24/6, 2013 at 17:16
1
Solved
This self-answered question, which focuses on Windows[1], addresses the following aspects:
Now that there are two PowerShell editions - the legacy, Windows-only Windows PowerShell and the cross-pl...
Incogitable asked 4/10, 2019 at 14:36
3
I would like to write a script in Python using pywinrm library to be able to connect to remote machine via WinRM.
import winrm
s = winrm.Session('MACHINEHOST', auth=('username@domain', 'password...
2
Solved
I am unable to get WinRM session in a python script.
Environment
ad-dns.test.com - Windows 2012 AD and DNS Server
box88.test.com - CentOS 7.2 : Kerberos, Python (Not joined to domain)
box62.test....
4
Solved
I'm new to powershell and I'm having troubles using credentials delegation. I have the following script:
$session = New-PSSession myserver -Authentication CredSSP -Credential DOMAIN\Administrator
...
Disconnection asked 7/8, 2013 at 20:55
3
Solved
I am trying to connect to the localhost using New-PSSession.
I have
Configured WinRM using
winrm quickconfig
Enabled PS Remoting
Enable-PSRemoting
Added Trusted Host
Set-Item WSMan:\localh...
Richella asked 25/5, 2015 at 13:40
2
Solved
We are deploying tens of VMs into Azure with VSTS. We now need to execute some scripts on specific VMs. Unfortunately, we can't let out VMs have public IPs. Is it possible to use VSTS tasks that re...
Giuseppe asked 18/9, 2017 at 16:56
2
We are currently refactoring our administration scripts.
It had just appeared that a combination of WinRM, error handling and ScriptMethod dramatically decreases available recursion depth.
See the...
Partnership asked 24/1, 2017 at 7:48
2
I want to create an aws windows AMI with packer and ansible.
I have tried many configuration, but I have still a problem of connection to the instance.
Here is my packer conf :
{
"builders": [{...
1
I use Windows 8.1 Enterprise 64 bit and Powershell 4.0.
I want execute powershell remoting and using authentication CredSSP.
I open Console Powershell, run as Administrator, and execute Enter-PSS...
Inquiline asked 7/4, 2014 at 9:41
5
Solved
I just burned a couple of hours searching for a solution to send files over an active PSSession. And the result is nada, niente. I'm trying to invoke a command on a remote computer over an active s...
Alvera asked 17/5, 2012 at 11:51
0
So I'm working on a Chef cookbook for Windows, meaning it is generally executed on a Windows Server instance (2012r2 in this case). Specifically I am installing MSYS2 which uses Cygwin under the ho...
1
Solved
I am using VSTS to deploy to an Azure VM. In my release definition, I receive the following error when trying to copy files over:
The SSL certificate contains a common name (CN) that does not ma...
Govern asked 1/3, 2017 at 17:45
1 Next >
© 2022 - 2025 — McMap. All rights reserved.