Open
Description
It would appear that some scripts contain now deprecated commands.
Specifically, I am having problems with the following in: samples/DevTestLabs/Scripts/ImageFactory/Scripts/DistributionHelpers.psm1
function SaveProfile {
$profilePath = Join-Path $PSScriptRoot "profile.json"
If (Test-Path $profilePath){
Remove-Item $profilePath
}
Save-AzureRmContext -Path $profilePath
}
function LoadProfile {
$scriptFolder = Split-Path $Script:MyInvocation.MyCommand.Path
Import-AzureRmContext -Path (Join-Path $scriptFolder "profile.json") | Out-Null
}
Save-AzureRmContext and Import-AzureRmContext appear to be non-functional now