ws-creator apply
Reapplies fragments and modules on an existing distro (-Only: just some of them). cloud-init adds and removes nothing: to remove a permission, purge, then new. Get-Help Update-WsCreatorMachine -Full
Syntax
Section titled “Syntax”Update-WsCreatorMachine [-Name] <String> [[-Only] <String[]>] [-Apply]Parameters
Section titled “Parameters”| Parameter | Type | Required | Position | Description |
|---|---|---|---|---|
-Name |
String | true | 1 | The machine: folder <WS_CREATOR_MACHINES>\<Name>\, and the distro of the same name. |
-Only |
String[] | false | 2 | Just these fragments or modules of the machine, e.g. -Only mise,agent. |
-Apply |
SwitchParameter | false | named | Do it. Without it, only shows the steps (dry run). |
Examples
Section titled “Examples”ws-creator apply my-machine -Only guard,agent -Apply