< Back

Remove-AzureRmBatchAccount

Tue Jan 29, 2019 9:36 pm

NAME Remove-AzureRmBatchAccount



SYNOPSIS

Removes a Batch account.





SYNTAX

Remove-AzureRmBatchAccount [-AccountName] <String> [[-ResourceGroupName] <String>] [-DefaultProfile <IAzureContextContainer>] [-Force] [-Confirm]

[-WhatIf] [<CommonParameters>]





DESCRIPTION

The Remove-AzureRmBatchAccount cmdlet removes an Azure Batch account. This cmdlet prompts you before it removes an account, unless you specify the

Force parameter.





PARAMETERS

-AccountName <String>

Specifies the name of the Batch account that this cmdlet removes.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the resource group of the account that this cmdlet removes.



Required? false

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

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



Required? false

Position? named

Default value False

Accept pipeline input? False

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS



NOTES









Example 1: Remove a Batch account



PS C:\\>Remove-AzureRmBatchAccount -AccountName "pfuller"



This command removes the Batch account named pfuller. This command prompts you for confirmation before it deletes the account.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... tchaccount

Get-AzureRmBatchAccount

New-AzureRmBatchAccount

Set-AzureRmBatchAccount

Azure Batch Cmdlets