Skip to content

Invoke-Command Documentation Issue #8359

@cr94523

Description

@cr94523

Documentation Issue

PS 7.2 Invoke-Command Example 17 uses invalid parameter set

Context of the issue

Conceptual content

  • Overview and Install
  • [ x] Learning PowerShell
    • PowerShell 101
    • Deep dives
    • [ x] Remoting
  • Release notes (What's New)
  • Windows PowerShell
    • WMF, ISE, release notes, etc.
  • DSC articles
  • Community resources
  • Sample scripts
  • Gallery articles
  • Scripting and development
    • Legacy SDK

Cmdlet reference & about_ topics

  • Preview content

  • Version 7.2 content

  • Version 7.1 content

  • Version 7.0 content

  • Version 5.1 content

  • Is the issue specific to a platform (Y/N - Win/macOS/Linux):
    Only able to try on Win 2019

Detailed description of the issue

There isn't a valid parameter set for this command using...
$parameters = @{
Session = $s
ScriptBlock = { Get-Item \Net03\Scripts\LogFiles.ps1 }
Authentication = "CredSSP"
Credential = "Domain01\Admin01"
}

Metadata

Metadata

Assignees

Labels

area-coreArea - Microsoft.PowerShell.Core module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions