DavidD-SE
DavidD-SE
Update: Maybe the problem has other causes. I experienced, when using the Cmdlet in Powershell ISE, running only the commands highlighted, the cmdlet does not work at all. When using...
PS C:\Users\MYLOCALUSER> $vmrg = "RESOURCEGROUP" PS C:\Users\MYLOCALUSER> $rsv = Get-AzureRmRecoveryServicesVault -ResourceGroupName $VMRg PS C:\Users\MYLOCALUSER> Set-AzureRmRecoveryServicesVaultContext -Vault $rsv PS C:\Users\MYLOCALUSER> PS C:\Users\MYLOCALUSER> $DebugPreference = "Continue" PS C:\Users\MYLOCALUSER> $vmname = "backuptestvm" PS...
@cormacpayne @shahabhijeet
Hi @dragonfly91 , thank you for updating my knowledge. Where can I post a feature request? I personally find the case-sensitivity of this parameter not perfect. as I, for example,...
Debug Output for: $BackupContainer = Get-AzureRmRecoveryServicesBackupContainer -ContainerType "AzureVM" –Status "Registered" -FriendlyName $VMname DEBUG: 10:26:43 - GetAzureRmRecoveryServicesBackupContainer begin processing with ParameterSet '__AllParameterSets'. DEBUG: 10:26:43 - using account id 'ext-....com'... DEBUG: Inside...
EDIT: Re-Run of the cmdlet, now with the correct VM name WITHOUT DEBUG: PS C:\temp> $vmname = "backuptestvm" PS C:\temp> $vmrg = "VMResourceGroup" PS C:\temp> $rsv = Get-AzureRmRecoveryServicesVault -ResourceGroupName $VMRg...
Debug Output for Command WITHOUT Parameter -FriendlyName $BackupContainer = Get-AzureRmRecoveryServicesBackupContainer -ContainerType "AzureVM" –Status"Registered" DEBUG: 10:32:28 - GetAzureRmRecoveryServicesBackupContainer begin processing with ParameterSet '__AllParameterSets'. DEBUG: 10:32:28 - using account id 'ext-....com'... DEBUG:...
Hi @markcowl , sorry for my typing mistake. I rerun the cmdlet, now with the right name. For me the issue still persists, my variable '$BackupContainer' is not filled with...