Skip to content

Deprecated commands? #707

Open
Open
@tobyfiserv

Description

@tobyfiserv

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions