{"id":541,"date":"2017-10-01T22:45:06","date_gmt":"2017-10-01T20:45:06","guid":{"rendered":"http:\/\/itso.dk\/?p=541"},"modified":"2018-06-28T20:16:09","modified_gmt":"2018-06-28T18:16:09","slug":"ansible-windows-client","status":"publish","type":"post","link":"https:\/\/blog.itso.dk\/?p=541","title":{"rendered":"Ansible Windows client + chocolatey"},"content":{"rendered":"<pre><code>set-executionpolicy remotesigned\r\nwinrm enumerate winrm\/config\/listener\r\n<\/code><\/pre>\n<pre id=\"9341\" class=\"graf graf--pre graf-after--p\">@powershell -NoProfile -ExecutionPolicy Bypass -Command \"iex ((new-object net.webclient).DownloadString('https:\/\/github.com\/ansible\/ansible\/raw\/devel\/examples\/scripts\/ConfigureRemotingForAnsible.ps1'))\"<\/pre>\n<pre><code class=\"nohighlight\">@\"%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command \"iex ((New-Object System.Net.WebClient).DownloadString('https:\/\/chocolatey.org\/install.ps1'))\" &amp;&amp; SET \"PATH=%PATH%;%ALLUSERSPROFILE%\\chocolatey\\bin\"<\/code><\/pre>\n<p><code class=\"nohighlight\">@\"%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command \"iex ((New-Object System.Net.WebClient).DownloadString('http:\/\/darkrouter\/prepwin.ps1'))\"<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>Suggest packages:<\/p>\n<p>teamviewer<br \/>\nskype<br \/>\npicasa<br \/>\nadobereader<br \/>\nlibreoffice<br \/>\nfirefox<br \/>\njavaruntime<br \/>\nspotify<br \/>\nvlc<br \/>\n7zip<br \/>\nk-litecodecpackfull<br \/>\nwget<br \/>\nmalwarebytes<br \/>\nthunderbird<br \/>\nitunes<br \/>\nwindirstat<\/p>\n","protected":false},"excerpt":{"rendered":"<p>set-executionpolicy remotesigned winrm enumerate winrm\/config\/listener @powershell -NoProfile -ExecutionPolicy Bypass -Command &#8220;iex ((new-object net.webclient).DownloadString(&#8216;https:\/\/github.com\/ansible\/ansible\/raw\/devel\/examples\/scripts\/ConfigureRemotingForAnsible.ps1&#8217;))&#8221; @&#8221;%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe&#8221; -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command &#8220;iex ((New-Object System.Net.WebClient).DownloadString(&#8216;https:\/\/chocolatey.org\/install.ps1&#8217;))&#8221; &amp;&amp; SET &#8220;PATH=%PATH%;%ALLUSERSPROFILE%\\chocolatey\\bin&#8221; @&#8221;%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe&#8221; -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command &#8220;iex ((New-Object System.Net.WebClient).DownloadString(&#8216;http:\/\/darkrouter\/prepwin.ps1&#8217;))&#8221; &nbsp; Suggest packages: teamviewer skype picasa adobereader libreoffice firefox javaruntime spotify vlc 7zip k-litecodecpackfull wget malwarebytes thunderbird itunes windirstat<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,2],"tags":[50,3],"class_list":["post-541","post","type-post","status-publish","format-standard","hentry","category-linux-tip","category-windows-tip","tag-ansible","tag-windows"],"_links":{"self":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts\/541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=541"}],"version-history":[{"count":8,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts\/541\/revisions"}],"predecessor-version":[{"id":613,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts\/541\/revisions\/613"}],"wp:attachment":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}