Skip to content

Stop-Service xxx fails with "Cannot open xxx service on computer '.'." #5214

Closed
@mebersol

Description

@mebersol

Steps to reproduce

On Windows OneCore VM, use PowerShell Direct to connect and attempt to run:

Stop-Service xxx

Expected behavior

Service stops

Actual behavior

cmdlet fails and service doesn't stop

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.0.0-beta.8
PSEdition                      Core
GitCommitId                    v6.0.0-beta.8
OS                             Microsoft Windows 10.0.17022
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions