Latest Post

Clone-NTNXVolumeGroup CmdLet Parameters

To obtain the list of manditory and Optional parameters of a CmdLet (Clone-NTNXVolumeGroup in this case), you can use the the following :-

PS C:\Users\Administrator> $a = Get-Command Clone-NTNXVolumeGroup
PS C:\Users\Administrator> $a.ParameterSets

 

the above returns :-

  Parameter Name: SourceVolumeGroupUuid
    ParameterType = System.Object
    Position = -2147483648
    IsMandatory = True
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = True
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: Name
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: Uuid
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: IscsiTarget
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: IscsiTargetPrefix
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: LogicalTimestamp
    ParameterType = System.Int64
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: EnabledAuthentications
    ParameterType = Nutanix.Prism.DTO.Acropolis.Volumegroups.ClientAuthenticationDTO[]
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: Servers
    ParameterType = System.String[]
    Position = 0
    IsMandatory = False
    IsDynamic = False
    HelpMessage = Name or IP address of Nutanix node
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {S}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.AliasAttribute

  Parameter Name: ExpandedOutput
    ParameterType = System.Management.Automation.SwitchParameter
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = Whether to print the output in list view.
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {Expand}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: GridView
    ParameterType = System.Management.Automation.SwitchParameter
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = Whether to show grid view or not.
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {Grid}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: Verbose
    ParameterType = System.Management.Automation.SwitchParameter
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {vb}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: Debug
    ParameterType = System.Management.Automation.SwitchParameter
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {db}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: ErrorAction
    ParameterType = System.Management.Automation.ActionPreference
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {ea}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.AliasAttribute

  Parameter Name: WarningAction
    ParameterType = System.Management.Automation.ActionPreference
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {wa}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: ErrorVariable
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {ev}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.AliasAttribute
      System.Management.Automation.Internal.CommonParameters+ValidateVariableName

  Parameter Name: WarningVariable
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {wv}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.Internal.CommonParameters+ValidateVariableName

  Parameter Name: OutVariable
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {ov}
    Attributes =
      System.Management.Automation.Internal.CommonParameters+ValidateVariableName
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: OutBuffer
    ParameterType = System.Int32
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {ob}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ValidateRangeAttribute

  Parameter Name: PipelineVariable
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {pv}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.Internal.CommonParameters+ValidateVariableName
      System.Management.Automation.AliasAttribute


Parameter Set Name: Template
Is default parameter set: False

  Parameter Name: SourceVolumeGroupUuid
    ParameterType = System.Object
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: Name
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: Uuid
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: IscsiTarget
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: IscsiTargetPrefix
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: LogicalTimestamp
    ParameterType = System.Int64
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: EnabledAuthentications
    ParameterType = Nutanix.Prism.DTO.Acropolis.Volumegroups.ClientAuthenticationDTO[]
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: Template
    ParameterType = System.Management.Automation.SwitchParameter
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = Template of the object to be provided as input.
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute

  Parameter Name: ExpandedOutput
    ParameterType = System.Management.Automation.SwitchParameter
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = Whether to print the output in list view.
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {Expand}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: GridView
    ParameterType = System.Management.Automation.SwitchParameter
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = Whether to show grid view or not.
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {Grid}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: Verbose
    ParameterType = System.Management.Automation.SwitchParameter
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {vb}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: Debug
    ParameterType = System.Management.Automation.SwitchParameter
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {db}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: ErrorAction
    ParameterType = System.Management.Automation.ActionPreference
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {ea}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.AliasAttribute

  Parameter Name: WarningAction
    ParameterType = System.Management.Automation.ActionPreference
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {wa}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: ErrorVariable
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {ev}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.AliasAttribute
      System.Management.Automation.Internal.CommonParameters+ValidateVariableName

  Parameter Name: WarningVariable
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {wv}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.Internal.CommonParameters+ValidateVariableName

  Parameter Name: OutVariable
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {ov}
    Attributes =
      System.Management.Automation.Internal.CommonParameters+ValidateVariableName
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: OutBuffer
    ParameterType = System.Int32
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {ob}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ValidateRangeAttribute

  Parameter Name: PipelineVariable
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {pv}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.Internal.CommonParameters+ValidateVariableName
      System.Management.Automation.AliasAttribute


Parameter Set Name: NutanixCluster
Is default parameter set: False

  Parameter Name: NutanixClusters
    ParameterType = Nutanix.Prism.Common.NutanixCluster[]
    Position = 0
    IsMandatory = False
    IsDynamic = False
    HelpMessage = Nutanix cluster object.
    ValueFromPipeline = True
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {}
    Attributes =
      System.Management.Automation.ParameterAttribute

  Parameter Name: ExpandedOutput
    ParameterType = System.Management.Automation.SwitchParameter
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = Whether to print the output in list view.
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {Expand}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: GridView
    ParameterType = System.Management.Automation.SwitchParameter
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = Whether to show grid view or not.
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = True
    ValueFromRemainingArguments = False
    Aliases = {Grid}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: Verbose
    ParameterType = System.Management.Automation.SwitchParameter
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {vb}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: Debug
    ParameterType = System.Management.Automation.SwitchParameter
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {db}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: ErrorAction
    ParameterType = System.Management.Automation.ActionPreference
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {ea}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.AliasAttribute

  Parameter Name: WarningAction
    ParameterType = System.Management.Automation.ActionPreference
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {wa}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: ErrorVariable
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {ev}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.AliasAttribute
      System.Management.Automation.Internal.CommonParameters+ValidateVariableName

  Parameter Name: WarningVariable
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {wv}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.Internal.CommonParameters+ValidateVariableName

  Parameter Name: OutVariable
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {ov}
    Attributes =
      System.Management.Automation.Internal.CommonParameters+ValidateVariableName
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute

  Parameter Name: OutBuffer
    ParameterType = System.Int32
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {ob}
    Attributes =
      System.Management.Automation.AliasAttribute
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.ValidateRangeAttribute

  Parameter Name: PipelineVariable
    ParameterType = System.String
    Position = -2147483648
    IsMandatory = False
    IsDynamic = False
    HelpMessage = 
    ValueFromPipeline = False
    ValueFromPipelineByPropertyName = False
    ValueFromRemainingArguments = False
    Aliases = {pv}
    Attributes =
      System.Management.Automation.ParameterAttribute
      System.Management.Automation.Internal.CommonParameters+ValidateVariableName
      System.Management.Automation.AliasAttribute