Skip to content

Enable-AzureRmContextAutosave documentation is unclear #6339

@iricigor

Description

@iricigor

Function Description

Description of Enable-AzureRmContextAutosave command says:

Allow the azure credential, account and subscription information to be saved and automatically loaded when you open a PowerShell window.

But later, description for -Scope parameter says

Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user

Points to be clarified

  1. What it brings to me if those objects are loaded, am I logged in to Azure?
  2. When is this context saving happening: on enabling, on login, periodically, on process exit, or what?
  3. In the description, it speaks about "you opening a new window", which makes entire parameter -Scope meaningless.
  4. Parameter -Scope has no default value, so I do not understand in which scope it is executed if I don't specify anything here?
  5. It would be good to add also some examples which would include full functionality demonstration. Like in one window do this (i.e. enable then login), and in another window do that (i.e. get subscriptions)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions