Azure / Azure/azure-devtestlab

Deprecated commands?

Open
#707 3 comments 0 reactions 0 assignees View on GitHub
az.devtestlabs bug samples
Dominant language
PowerShell
Stars
465
Forks
595
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.