Skip to content

PowerShell snippet does not work in PowerShell Core on Windows 10 #2709

@brlin-tw

Description

@brlin-tw

In the WinRM Setup section of Windows Remote Management — Ansible Community Documentation, the Create HTTPS listener PowerShell snippet does not work on PowerShell Core 7.5.1 on Windows 10 22H2(Build 19045):

New-WSManInstance: The WS-Management service cannot process the request. The resource URI is missing or it has an incorrect format. Check the documentation or use the following command for information on how to construct a resource URI: "winrm help uris".

On the other hand, this snippet runs perfectly on Windows PowerShell, so we probably should require the user to run it in it instead.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

🆕 Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions