Example from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
addAdds volumes to the set of volumes that are to be shadow copied, or adds aliases to the alias environment. This guide lists the documented syntax and parameters for add; check Microsoft Learn for version, role and execution-context requirements.
add
add volume <volume> [provider <providerid>]
add alias <aliasname> <aliasvalue>The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.
Example from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
add| Option / clause | Description |
|---|---|
volume | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
alias | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
/? | Display command help or the supported command-line usage. |
<volume> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
<providerid> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
<aliasname> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
<aliasvalue> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.