{"id":917,"date":"2015-04-24T12:41:49","date_gmt":"2015-04-24T17:41:49","guid":{"rendered":"http:\/\/www.serverpronto.com\/spu\/?p=917"},"modified":"2018-07-20T10:47:10","modified_gmt":"2018-07-20T15:47:10","slug":"six-useful-command-line-functions-for-windows-7","status":"publish","type":"post","link":"https:\/\/www.serverpronto.com\/spu\/2015\/04\/six-useful-command-line-functions-for-windows-7\/","title":{"rendered":"Command Line Functions for Windows 7"},"content":{"rendered":"<p>If you\u00e2\u20ac\u2122re a system administrator, you probably feel like your work is never done. So, the larger the system, the more of that work that probably needs to be done regularly too. And, no matter what kind of operating system you depend on,\u00c2\u00a0 so troubleshooting is usually required to resolve problems involving them. For those working with Windows 7, the following command line functions will make this that much easier to do.<!--more--><\/p>\n<h2>sfc \/scannow<\/h2>\n<p>The System File Checker is invaluable for ridding your computer of some very malicious forms of software. What sometimes happens is that this type of software ends up in your system with the goal of replacing core system files with altered versions. So, these versions will then take control of your entire system.<\/p>\n<p>You can use the System File Checker to verify the legitimacy of the Windows system files. So, if you find that any of them are missing or otherwise corrupted, the System File Checker will automatically replace them.<\/p>\n<h2>sigverif<\/h2>\n<p>Another extremely helpful way to verify the legitimacy of a system is by making sure that all its files have been digitally signed. To accomplish this, just use the File Signature Verification tool, which can be launched from the command line using GUI interface.<\/p>\n<p>Once it runs, the verification tool will report which files have been signed and which ones haven\u00e2\u20ac\u2122t. And in general, all of your files should definitely be digitally signed. However, some hardware manufacturers don\u00e2\u20ac\u2122t sign their driver files.<\/p>\n<h2>driverquery<\/h2>\n<p>Your system can wind up with all kinds of problems thanks to incorrect device drivers. Fortunately, the driverquery command line function can show you which ones are installed on a Windows 7 system. On top of that, you\u00e2\u20ac\u2122ll get lots of information about the various drivers being used.<\/p>\n<p>If you\u00e2\u20ac\u2122d like a bit more information, just add on the \u00e2\u20ac\u201cv switch. You can also add the \u00e2\u20ac\u201csi switch, which will cause the tool to display the drivers\u00e2\u20ac\u2122 signature data. Those two options are:<\/p>\n<blockquote><p>driverquery -v<\/p>\n<p>driverquery \u00e2\u20ac\u201csi<\/p>\n<p>nslookup<\/p><\/blockquote>\n<p>If you want to check to see that the DNS name resolution is working correctly, the nslookup tool is the perfect solution. Run it against a hostname and nslookup will show you which DNS server it used for the process and, of course, how the name was resolved.<\/p>\n<p>One reason a lot of people use nslookup is to troubleshoot issues having to do with DNS records that are still around but are no longer accurate.<\/p>\n<p>To use this command, just be sure to put the name of the host after \u00e2\u20ac\u0153nslookup.\u00e2\u20ac\u009d<\/p>\n<p>&nbsp;<\/p>\n<h2>ping<\/h2>\n<p>Of all the diagnostic commands available, ping might be the simplest. Its purpose is to help verify general TCP\/IP connectivity to a network host. After entering the command, \u00e2\u20ac\u0153ping\u00e2\u20ac\u009d, put in the IP address of the host you\u00e2\u20ac\u2122re trying to test.<\/p>\n<p>Keep in mind that if there is a firewall blocking ICMP traffic, this command line function will fail. You can only use it if ICMP (Internet Control Message Protocol) traffic is allowed to go between two different machines.<\/p>\n<p>&nbsp;<\/p>\n<h2>pathping<\/h2>\n<p>Let\u00e2\u20ac\u2122s say the ping test does fail, either because of a lack of ICMP connectivity or some other reason. You\u00e2\u20ac\u2122ll be left without an answer regarding why the failure occurred.<\/p>\n<p>To move forward, use \u00e2\u20ac\u0153pathping\u00e2\u20ac\u009d plus the IP address in question. This command line function was made for environments where at least one router between hosts exists. It does this by sending a number of packets to any of the routers available and monitoring if any of them perform slowly or drop them.<\/p>\n<p>So, with the above command line functions, you\u00e2\u20ac\u2122ll have easier time troubleshooting issues related to Windows 7. Here at ServerPronto, we\u00e2\u20ac\u2122re always available to help too.<\/p>\n<p><a href=\"https:\/\/www.serverpronto.com\">ServerPronto<\/a> offers the best affordable and secure hosting service in all dedicated server packages.<\/p>\n<p>&nbsp;<\/p>\n<p>Source: http:\/\/www.techrepublic.com\/blog\/10-things\/10-windows-7-commands-every-administrator-should-know\/<\/p>\n<p>Photo cred: Flickr \/\u00c2\u00a0<a href=\"https:\/\/www.flickr.com\/photos\/articnomad\/\">JoshuaDavisPhotography<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you\u00e2\u20ac\u2122re a system administrator, you probably feel like your work is never done. So, the larger the system, the more of that work that probably needs to be done regularly too. And, no matter what kind of operating system you depend on,\u00c2\u00a0 so troubleshooting is usually required to resolve problems involving them. For those<\/p>\n","protected":false},"author":9,"featured_media":918,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"footnotes":""},"categories":[64],"tags":[123,17,112,22,18],"class_list":["post-917","post","type-post","status-publish","format-image","has-post-thumbnail","category-support-of-the-day","tag-cloud","tag-dedicated-server","tag-hosting","tag-server","tag-web-hosting","post_format-post-format-image"],"_links":{"self":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts\/917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/comments?post=917"}],"version-history":[{"count":3,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts\/917\/revisions"}],"predecessor-version":[{"id":2434,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts\/917\/revisions\/2434"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/media\/918"}],"wp:attachment":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/media?parent=917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/categories?post=917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/tags?post=917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}