Posts

Showing posts from April, 2018

Windows Administrator Basics: Managing Windows Services from Powershell

Image
This is the third article of  'Windows Administrator Basics : Windows Services" series. In this series we will learn to manage Windows services from Powershell. If you have not read previous articles then follow below links to navigate through them. Part1: Windows Administrator Basics: Windows Services Part2: Windows Administrator Basics: Managing Windows services from command line Get status of a service using Get-Service cmdlets The Get-Service cmdlets allow you to list services on local computer. Examples :  List all services on the computer PowerShell Copy PS C:\> Get-Service Status   Name               DisplayName                            ------   ----               -----------                            Running  AdobeARMservice    Adobe Acrobat Update Service           Stopped  AJRouter           AllJoyn Router Service                 Stopped  ALG                Application Layer Gateway Service      Stopped  AppReadiness       App Readiness   

Windows Administrator Basics: Managing Services from Command Line

Image
Managing Windows services from command line Part1: Windows Administrator Basics: Windows Services Part3: Windows Administrator Basics: Managing Windows services from Powershell Net Command: You can use NET START and NET STOP command to start and stop Windows service. Using Net command to start a Windows Service NET START   < ServiceName > Using Net command to stop a Windows Service NET STOP < Service Name > SC (Service Control) Command : SC.exe is a powerful command line tool to manage Windows Services. This can be used to Query, Start,Stop,Create or Delete a Windows service. This tool can manage the services on remote computer as well. In this article, we are going to explore Query , start and stop options only. Query Service status of specific service on Local machine SC QUERY < Service Name > Query Service status of specific service on Remote machine SC < \\Computer Name > QUERY < Service Name > Query Service s

Windows Administrator Basics: Windows Services

Image
What is Windows Services A Windows Service is a computer program that operates in the background. A service don’t have a user interface. They are intended to provide core operating system features such as Event logging, printing or error reporting. Some applications install their own services. Antivirus applications are one of such example. They install different services to enable real time monitoring of your system. Services Console Services console provide an interface to view and manage services. The Services console can be launched in different way. However the easiest way to launch services console is to type "Services" in Windows 10 Search Box. You can now see 'Services - Desktop App' in the list. Just click on Services icon to open Services console.  The Services Console will be opened. You can view, start, stop and configure Windows services from Services Console. To see the description of a service, click on the service and descri

Now Available: Update 1802 for System Center Configuration Manager

https://cloudblogs.microsoft.com/enterprisemobility/2018/03/22/now-available-update-1802-for-system-center-configuration-manager/

SSCM – How to deal with wrong Deployment

You are just done away with a software deployment in production environment. Soon you flooded with complain that something went wrong with the deployment and it need to be stopped immediately. What should be your next step? What is the best practice to deal with miss deployment? The most common answer i have heard is : Delete the deployment . Well, that’s sound good to stop the deployment on new machine. You just deleted the deployment and relaxed. However, trouble is not over here. You got a call from higher management and they asked you to provide the list of all users / machines impacted by deployment. Once identified, you have to work on remediation plan. Now you have another challenge. How you can pull out these details? When you deleted the deployment, its removed all such details from SCCM along with deployment. So, what is the best practice?  There are many such option available which you can use to stop the deployment. This wil