Posts

Showing posts from October, 2013

Get a List of all Installed Programs (and Updates) from cmd

Image
This is the list that most of us need at times. For me, the scenario was I needed to compare the softwares installed on two boxes. Alright then, lets go step by step 1. Open Command Prompt on your machine. 2. To display the list of All Programs installed, go on with WMIC  product get name,version You'll get this 3. To export this list to a text file, use the following command. wmic /output:d:\ProgramList.txt product get name,version The output will be somewhat, 4. To get a list of installed updates WMIC  /output:d:\UpdatelList.txt QFE get Thats all for the day :)

Start a Service on Remote Computer using Command Prompt

Image
Many a times we don't want to RDP a system just to start or stop a sevice. In these times we can use this command from cmd, sc <machine name> start\stop <name of Service> e.g. sc \\tstsystem start SQLSERVERAGENT So, no need to RDP any further for petty tasks :-) Will keep you posted.