Skip to content

REQ: Remove-Service cmdlet #4717

@chucklu

Description

@chucklu

Hi,
Since we have get-service,start-service,and some other functions about windows service.
Is it possible to add intall-service and uninstall-service?

I am using installutil.exe tool to do the installation and uninstallation.
sometimes, the uninstallation did not work.

installutil /u 

then I need to switch to cmd prompt,and use

 sc delete

If you can support install and uninstall service,it will be great.

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
GitCommitId                    v6.0.0-beta.6
OS                             Microsoft Windows 10.0.10586
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

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions