CmdID / PowerShell / Cmdlets / Add
Add-VMStoragePath
Adds a path to a storage resource pool. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies one or more Hyper-V hosts on which the path to the storage resource pool is to be added.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-PassthruIndicates that this cmdlet returns a String.-PathSpecifies the path to be added to the storage resource pool.-ResourcePoolNameSpecifies the name of the resource pool to which the path is to be added.-ResourcePoolTypeSpecifies the type of the resource pool for which storage paths are to be added.-WhatIf, -wiShows what would happen if the cmdlet runs.