Skip to content

-Disconnected parameter for Invoke-Command appears undocumented #9423

@wisemoth

Description

@wisemoth

Prerequisites

  • Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
  • Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Typo in Get-Foo cmdlet" instead of "Typo."
  • Verify Version: If there is a mismatch between documentation and the behavior on your system, ensure that the version you are using is the same as the documentation. Check this box if they match or the issue you are reporting is not version specific.

Links

Summary

It appears that invoke-command has a -Disconnected parameter. I was attempting to read how this might differ from the InDisconnectedSession parameter, but while the latter has documentation, the former appears not to.

Details

> get-help Invoke-Command -Parameter indisconnectedsession

-InDisconnectedSession

    Required?                    false
    Position?                    Named
    Accept pipeline input?       false
    Parameter set name           ComputerName, FilePathComputerName, Uri, FilePathUri
    Aliases                      Disconnected
    Dynamic?                     false
    Accept wildcard characters?  false
> get-help Invoke-Command -Parameter disconnected
Get-Help: No parameter matches criteria disconnected.

However, type invoke-command -disc<press tab> shows the parameter.

Suggested Fix

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions