I am trying to unzip a file on server 2012r2 through chef. I get an error back “illegal characters in path”. When I manually type the commands in the file is extracted exactly as it should, but doing it through chef it just does not want to work for some reason.
powershell_script 'test' do
code <<-EOH [System.Reflection.Assembly]::LoadWithPartialName("System.IO.Compression.FileSystem") | Out-Null