Show More
@@ -37,7 +37,7 b' def wait_for_winrm(host, username, passw' | |||
|
37 | 37 | try: |
|
38 | 38 | client = Client(host, username=username, password=password, |
|
39 | 39 | ssl=ssl, connection_timeout=5) |
|
40 |
client.execute_ |
|
|
40 | client.execute_ps("Write-Host 'Hello, World!'") | |
|
41 | 41 | return client |
|
42 | 42 | except requests.exceptions.ConnectionError: |
|
43 | 43 | if time.time() >= end_time: |
General Comments 0
You need to be logged in to leave comments.
Login now