Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

PowerShell – Delete Windows Service

Posted on November 9, 2015 By David Kittell

Recently while trying Kentico I had to uninstall it and found that the service didn’t properly uninstall so I found PowerShell was quickly able to remedy that problem.

$service = Get-WmiObject -Class Win32_Service -Filter "Name='KenticoCMSHealthMonitor(Default Web Site_Kentico82)'"
$service.delete()

$service = Get-WmiObject -Class Win32_Service -Filter "Name='KenticoCMSScheduler(Default Web Site_Kentico82)'"
$service.delete()
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code PowerShell

Post navigation

Previous post
Next post

Related Posts

UNIX SED – Convert Vertical List to Horizontal CSV

Posted on October 29, 2016

If you’ve had to take a vertical list to horizontal list before you know how difficult it can be. You may have a different setup than my example but the code provided below should help in most cases. ================================================== Origin URL | http://kittell.net Action URL | http://kittell.net/api User Name Field…

Read More

XML Site Map

Posted on October 17, 2013October 26, 2015

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="generateXML.aspx.vb" Inherits="Examples_generateXML" %> <%@ Register Assembly="Ektron.Cms.Controls" Namespace="Ektron.Cms.Controls" TagPrefix="CMS" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Generate Sitemap Page</title> </head> <body> <form id="form1" runat="server"> <div> <asp:Button runat="server" ID="btnGenerate" Text="Click to Generate Sitemap" OnClientClick="displayWait()" /> <br /> <br /> <cms:login runat="server" id="login1"…

Read More

UNIX – List USB Devices With lsusb

Posted on February 12, 2018February 12, 2018

On the Mac “lsusb -v” is rather clean in comparison to other systems. # If not already installed… # brew update && brew tap jlhonora/lsusb && brew install lsusb lsusb -v lsusb -v # or lsusb -v | grep -E ‘\<(Bus|iProduct|bDeviceClass|bDeviceProtocol|idVendor|idProduct|iManufacturer)’ 2>/dev/null All information on this site is shared with…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • PowerShell - IIS Remove Site
  • Front Page
  • SQLite - Auto-Increment / Auto Generate GUID
  • PowerShell - FTP Upload Directory With Sub-Directories

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • PowerShell - IIS Remove Site
  • SQLite - Auto-Increment / Auto Generate GUID
  • PowerShell - FTP Upload Directory With Sub-Directories
  • Raspberry Pi - Remove Default Apps
  • PowerShell - Change Windows CD/DVD Drive Letter
©2025 David Kittell | WordPress Theme by SuperbThemes