What Sort of Admin Are You?



What Sort of Admin Are You?
CMD windows far from the company quickly outdated, especially those where powershell you is not an option. One often overlooked is the sort order. Back in the golden age of the command prompt management, administrators manipulated in such command text file and data sets. Operation sort /? At the command prompt to see usage and grammar. Below are some examples of how you may need to use it.

Open a command prompt and type: -% windir% windowsupdate.log | Sort / R | More you will see your Windows Update log reverse order. A better approach might be to filter warning: find / I "warning"% windir% windowsupdate.log | Sort / R | More psexec and running this command on your customer to troubleshoot the Windows Update issue.

Another idea here: I have a CSV file, localadminage.csv, including computername, the name of the Administrator account, password, age days when it was last changed. The document may be this: app01, administrator, "610.12", at 16:25:05 on October 21, 2005 app02, administrator, "573.08", at 10:24:25 on April 13, 2005 dc01, administrator, "287.04", October 24, 2006 at 08 am and 18 minutes 44 seconds dc03, administrator, "287.04", at 15:51:25 on October 23, 2006 sql05, administrator, "288.79", at 13:52:45 on March 13, 2006 crm01, administrator, "288.12" , at 13:52:41 on March 13, 2006 mail01, administrator, "656.11" 2005, January 6 , 14:49:34 isa01, administrator, "250.30", at 13:34 on February 16, 2006 33 second mail02, administrator, "253.20", at 18:56:06 on May 1, 2006 I can command that sort in the document memory. If I just type: I will sort localadminage.csv see a version of the document finishing on the basis of the beginning of each year line, which in this case, the computer name. The original file remains intact. You can tell that command to create a new document and rewrite of the original.

I propose to send output to a new document: sort localadminage.csv input / output localadminage - sorted.csv If I want a different sort of column, I need a slightly complicated command expression: (/ F "tokens = 1-5 delims ="% (localadminage.csv) @ echo% c, %) | Sort / R This should be typed as one line. When implementation, in order to command the return of one-third of analytic files (password), the first (servername) columns.

high-tech help, as a , e-mail from # 160 a window, the issue of exchange or virtual or need troubleshooting help? Perhaps you want a better interpretation exceeds the manual? Description your plight in an e-mail to the editors mcpmag.com In editor@mcpmag.com the best question be answered in this column, and the inclusion of live question with an interesting Redmond T-shirt.

When you put your question, please include your full first and last name, location, certifications (if ), and your message. (If you prefer to remain anonymous, This shows that in your message, but requested information for verification).

output, and then to the kind of command that does a reverse sort. Because I have been designated password age as the first part of the line, I will be given a list of computer passwords name and age and the oldest at the top. I believe you can do that, in Microsoft Excel, but it is more fun and faster. If you find the next some sort data, a solution may be close beyond your imagination.


Latest Industry News:
- Gonzo Ethernet Switching Outlook for Cisco
- Judge Dismisses Key Part of AMD Lawsuit Against Intel
- 4 Steps to Unified Communications
- Build Web Apps With Java
- Clustering Competence: Win2K Clustering Exam
- Vista Now Available to Beta 2 Participants
- HP to Replace Memory Modules in Laptops
- Microsoft, Bristol Settle Lawsuit
- Oracle Offers Discounted 11i E-Business Betas
- VPN and Security Services Surging
- Des Moines Area Community College: Tying Learning to the Gaming Generation
- Microsoft Reboots
- Backup Daemon Vulnerabilities
- Dell to Ship Madison-based Servers
- Violate Internet Standards with IE
- A Patch Begets a Patch...Begets Another Patch?
- Microsoft's Hard Edge
- Observer 7.1 Features VoIP Filtering
- Making the Jump to IT Consulting
- Sun Unveils Its Own Version of Web Services