libs/help_metadata/move-pwsldistro_phwriter_metadata.json

{
  "indent": 1,
  "padding": 1,
  "examples": [
    "Move-PwslDistro -Name 'Ubuntu' -DefaultUser 'dev_user' -NewLocation 'D:\\WSL\\Ubuntu'",
    "Move-PwslDistro -Name 'Debian' -DefaultUser 'dev_user' -NewLocation 'E:\\VMs\\Debian' -TempLocation 'F:\\temp' -SetAsDefault"
  ],
  "commandinfo": {
    "synopsis": "Move-PwslDistro [-Name <String>] [-DefaultUser <String>] [-NewLocation <String>] [-TempLocation <String>] [-SetAsDefault <switch>]",
    "cmdlet": "Move-PwslDistro",
    "description": "Safely moves a WSL distro to a new drive/folder. Handles stop, export, unregister, import, and user restoration automatically.",
    "source": "https://gitlab.com/phellams/pwsl/-/blob/main/readme.md"
  },
  "version": "0.1.2",
  "paramtable": [
    {
      "type": "string",
      "required": true,
      "inline": false,
      "name": "Name",
      "description": "The name of the distribution to move.",
      "param": "Name"
    },
    {
      "type": "string",
      "required": false,
      "inline": false,
      "name": "DefaultUser",
      "description": "The username to set as default after import (prevents logging in as root).",
      "param": "DefaultUser"
    },
    {
      "type": "string",
      "required": true,
      "inline": false,
      "name": "NewLocation",
      "description": "The target directory where the new disk image will be stored.",
      "param": "NewLocation"
    },
    {
      "type": "switch",
      "required": false,
      "inline": false,
      "name": "Help",
      "description": "Displays this help manual.",
      "param": "Help"
    }
  ],
  "name": "pwsl"
}