Select-AzProfile

For modules that support multiple service profiles - load the cmdlets corresponding with the given service profile.

Syntax

Select-AzProfile
      -Name <String>
      [-PassThru]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

For modules that support multiple service profiles - load the cmdlets corresponding with the given service profile.

Examples

Example 1

PS C:\> Select-AzProfile hybrid-2019-03

Load cmdlets for the AzureStack profile from March 2019

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

The name of the profile to select

Type:String
Aliases:ProfileName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

When present, forces the cmdlet to return a value on successful execution

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Object