libs/help_metadata/install-pwsldistro_phwriter_metadata.json

{
  "version": "0.1.3",
  "examples": [
    "Install-PwslDistro -Name 'Ubuntu-24.04'",
    "Install-PwslDistro -Name 'Debian'"
  ],
  "indent": 1,
  "commandinfo": {
    "source": "https://gitlab.com/phellams/pwsl/-/blob/main/readme.md",
    "cmdlet": "Install-PwslDistro",
    "description": "Installs a specific WSL distribution from the online list, -NewLocation is specified, the distro is moved using Move-PwslDistro.",
    "synopsis": "Install-PwslDistro [-Name <String>] [-DefaultUser <String>] [-InstallLocation <String>]"
  },
  "name": "pwsl",
  "padding": 1,
  "paramtable": [
    {
      "required": true,
      "name": "Name",
      "inline": false,
      "type": "string",
      "param": "Name",
      "description": "The name of the distribution to install (e.g., 'Ubuntu-24.04')."
    },
    {
      "required": false,
      "name": "DefaultUser",
      "inline": false,
      "type": "string",
      "param": "DefaultUser",
      "description": "The username to set as default after import (prevents logging in as root)."
    },
    {
      "required": false,
      "name": "InstallLocation",
      "inline": false,
      "type": "string",
      "param": "InstallLocation",
      "description": "The directory where the ext4.vhdx disk image will be created."
    },
    {
      "required": false,
      "name": "Help",
      "inline": false,
      "type": "switch",
      "param": "Help",
      "description": "Displays this help text."
    }
  ]
}