Remove-CafJumphost
Removes a Jumphost virtual machine and its associated OS disk.
Syntax
Remove-CafJumphost
[-SubscriptionId <string>]
[-SubscriptionName <string>]
[-WhatIf]
Description
Automates the removal of a Jumphost virtual machine and its OS disk. Targets resources within the resource group derived from CAF naming conventions for the given subscription.
Example
Remove-CafJumphost
-SubscriptionName "lz-mycompany-myproject"
Parameter
-SubscriptionId The ID of the target Azure subscription.
| Property | Value |
|---|---|
| Type: | string |
| Default value: | "" |
| Required: | False |
-SubscriptionName The name of the target Azure subscription.
| Property | Value |
|---|---|
| Type: | string |
| Default value: | None |
| Required: | False |
-WhatIf
If specified, only simulates the removal actions without making any changes.
| Property | Value |
|---|---|
| Type: | SwitchParameter |
| Default value: | False |
| Required: | False |