Skip to content

ws-creator purge

Deletes the distro (confirmed by typing its name). No partial purge: cloud-init removes nothing, so purge, then recreate (immutable infrastructure). Refuses while unpushed work remains, unless -Force. Get-Help Remove-WsCreatorMachine -Full

Terminal window
Remove-WsCreatorMachine [-Name] <String> [-Apply] [-Force]
Parameter Type Required Position Description
-Name String true 1 The machine: folder <WS_CREATOR_MACHINES>\<Name>\, and the distro of the same name.
-Apply SwitchParameter false named Do it. Without it, only shows the steps (dry run).
-Force SwitchParameter false named Purge despite unpushed work (“!” lines).
Terminal window
ws-creator purge my-machine -Apply