< Back

Get-AzurePublishSettingsFile

Wed Jan 30, 2019 5:44 pm

NAME Get-AzurePublishSettingsFile



SYNOPSIS

Downloads the publish-settings file for a Microsoft Azure subscription





SYNTAX

Get-AzurePublishSettingsFile [-Realm <String>] [-Environment <String>] [<CommonParameters>]





DESCRIPTION

The Get-AzurePublishSettingsFile cmdlet opens your default browser, logs onto your Microsoft Azure account, and automatically downloads a

.publishsettings file that contains information and a certificate for your Microsoft Azure subscription. This file is used by the

Import-AzureSubscription cmdlet and is an XML file with a ".publishsettings" extension.



Security Note: The file downloaded contains an encoded management certificate that serves as the credentials to administer your Microsoft Azure

subscriptions and services. Store this file in a secure location or delete after use.





PARAMETERS

-Realm <String>

The organization ID to use for federated authentication when displaying the Microsoft Azure Portal



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Environment <String>

The Microsoft Azure environment name to be used. Example AzureCloud



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS











OUTPUTS











NOTES





node-dev, php-dev



Keywords: azure, azuresm, servicemanagement, management, service, utilities



-------------- Example 1 --------------



PS C:\\> Get-AzurePublishSettingsFile



This example launches your default browser, connects to your Microsoft Azure account, and then automatically downloads the .publishsettings file for

your account.



RELATED LINKS

Import-AzurePublishSettingsFile