diff --git a/website/pages/docs/provisioners/windows-shell.mdx b/website/pages/docs/provisioners/windows-shell.mdx index 1cd417adf..53b178a57 100644 --- a/website/pages/docs/provisioners/windows-shell.mdx +++ b/website/pages/docs/provisioners/windows-shell.mdx @@ -18,6 +18,9 @@ The windows-shell Packer provisioner runs commands on a Windows machine using The example below is fully functional. + + + ```json { "type": "windows-shell", @@ -25,6 +28,18 @@ The example below is fully functional. } ``` + + + +```hcl +provisioner "windows-shell" { + inline = ["dir c:\\"] +} +``` + + + + ## Configuration Reference @include 'provisioners/shell-config.mdx'