File: winrm-tests.sh

package info (click to toggle)
golang-github-masterzen-winrm 0.0~git20160323.0752679-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 256 kB
  • ctags: 180
  • sloc: makefile: 34; sh: 14
file content (9 lines) | stat: -rwxr-xr-x 211 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/bin/bash
echo "==> Running commands using WinRM against a Vagrant machine:"
echo


echo "==> What's my execution policy?"
winrm "powershell -command \"get-executionpolicy\""
echo "==> Whoami?"
winrm "whoami"