Performing a dry run of a Powershell script that uses Chocolatey Performing a dry run of a Powershell script that uses Chocolatey powershell powershell

Performing a dry run of a Powershell script that uses Chocolatey


choco has an option to "not do anything" - this ...

--noop, --whatif, --what-ifNoOp / WhatIf - Don't actually do anything.

i have not tested it, but it looks like what you want.