Unzip a file in windows using chef

Anybody has sample script to unzip a file in windows using chef? i don’t have
winzip installed so the batch resource does not seem to help.

Thanks

Have you tried using the Windows cookbook's windows_zipfile resource?

(the README documents usage and gives examples)

am

On 3 Jan 2015, at 15:16, threezerous@gmail.com wrote:

Anybody has sample script to unzip a file in windows using chef? i don't have
winzip installed so the batch resource does not seem to help.

Thanks

Took a while to figure out the syntax related to dotnet and zip files, but
I got it working now. Thanks for your suggestion

On Sat, Jan 3, 2015 at 9:04 AM, Aimelyne Mochiron aimelynem@gmail.com
wrote:

Have you tried using the Windows cookbook's windows_zipfile resource?

GitHub - chef-boneyard/windows: Development repository for Chef Cookbook windows

(the README documents usage and gives examples)

am

On 3 Jan 2015, at 15:16, threezerous@gmail.com wrote:

Anybody has sample script to unzip a file in windows using chef? i don't
have
winzip installed so the batch resource does not seem to help.

Thanks