8000 Restart-Computer does not function on arm64 · Issue #8197 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content

Restart-Computer does not function on arm64 #8197

@kkennett

Description

@kkennett

Steps to reproduce

Run pwsh on WinPE, ARM64
Run Restart-Computer

X:\Program Files\PowerShell>pwsh
PowerShell 6.1.0
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/pscore6-docs
Type 'help' to get help.

PS X:\Program Files\PowerShell> Restart-Computer
Restart-Computer : Failed to restart the computer minint-0ehkrmp with the following error message: CimSessionOptions instance is invalid: unsupported protocol or unrecognized custom option. Verify parameter passed to the CimSessionOptions(string) constr
At line:1 char:1

  • Restart-Computer
  • CategoryInfo : OperationStopped: (minint-0ehkrmp:String) [Restart-Computer], InvalidOperationException
  • FullyQualifiedErrorId : RestartcomputerFailed,Microsoft.PowerShell.Commands.RestartComputerCommand

PS X:\Program Files\PowerShell>

Expected behavior

Computer restarts

Actual behavior

Failure see above

Environment data

X:\Program Files\PowerShell>pwsh
PowerShell 6.1.0
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/pscore6-docs
Type 'help' to get help.

PS X:\Program Files\PowerShell> $PSVersionTable

Name Value


PSVersion 6.1.0
PSEdition Core
GitCommitId 6.1.0
OS Microsoft Windows 10.0.17763
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

PS X:\Program Files\PowerShell>

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0