Windows Server 2003 Charge Line Devices.

Uploaded on:
Category: Business / Finance
Windows Server 2003 Order Line Devices Robbie Allen Cisco Frameworks Plan Why Use Summon Line Instruments? Microsoft Charge Line Apparatus Assets Other Summon Line Instrument Assets Q/A Why Utilize an Order Line over a GUI? 1. Quicker than the clickity-click partner
Slide 1

Windows Server 2003 Command-Line Tools Robbie Allen Cisco Systems

Slide 2

Agenda Why Use Command-Line Tools? Microsoft Command-Line Tool Resources Other Command-Line Tool Resources Q/A

Slide 3

Why Use a Command-Line over a GUI? 1. Quicker than the clickity-click partner View the system arrangement: ipconfig/all Find all VBScript records in the way: where *.vbs Append a “1” to each document in the present index: forfiles - p.\ - v - c"cmd/c if not @ISDIR==TRUE ren @FILE @FNAME_WITHOUT_EXT1.@EXT"

Slide 4

Why Use a Command-Line over a GUI? 2. Sometimes you don’t have a decision Create a section in an Event Log eventcreate/L Application/T Error/ID 777/D "Error Will Robinson" Redirect the default AD PCs holder to a substitute area redircmp “ou=MyComputers,dc=rallencorp,dc=com” Diagnose AD DNS arrangement issues dnslint/commercial/s localhost/v

Slide 5

Why Use a Command-Line over a GUI? 3. Improves your remote administration abilities Many of the new apparatuses have a/S choice for focusing on a remote machine systeminfo/S rallen-srv1 With Sysinternals psexec you can even run non-remoteable utilities remotely psexec \\rallen-srv1 cmd/k dir c:\

Slide 6

Why Use a Command-Line over a GUI? 4. Empowers you to mechanize regular/complex undertakings Simple clump scripts simply contain orders to keep running in arrangement Disable all dormant PC accounts and send the outcomes in an email (2 charges) oldcmp - report - document inactive.html - impair - b "cn=computers,dc=rallencorp,dc=com“ blat inactive.html - to - html

Slide 7

Microsoft Command-Line Tool Resources Windows Server 2003 Windows Resource Kit Windows Support Tools Downloadable Tools SFU 3.5

Slide 8

What\'s New in Windows Server 2003 %windir%\Help\ntcmds.chm systeminfo – Displays definite design data around a PC and its working framework wmic – Extremely effective summon line interface into WMI dsadd/dsmod/dsrm/dsget/dsquery/dsmove – Set of charge line apparatuses for questioning and adjusting Active Directory netsh – Query system setup, perform diagnostics and oversee system administrations, for example, DHCP and IPSec bootcfg – Configures, inquiries, or changes Boot.ini record settings sc – Retrieves and sets data about administrations. Tests and troubleshoots administration programs. schtasks – Command-line interface into the Task Scheduler administration. With it you can inquiry, include, adjust and erase booked errands

Slide 9

What\'s New in Windows Server 2003 (cont’d) tasklist/taskkill – Search and end forms reg – Query and control the Registry redirusr/redircmp – Redirect the default clients and PCs holders in Active Directory forfiles – Perform an order more than a few records without a moment\'s delay openfiles – Queries and separates open documents fsutil/freedisk/diskpart – File and plate arrangement and question devices eventcreate/eventquery/eventtriggers – Create and inquiry occasions and occasion triggers gpupdate/gpresult – Force bunch approaches to be connected to a PC and perspective the outcomes shutdown – Log off, restart, or close down a PC

Slide 10

Windows Resource Kit creatfil – Create a document of subjective size diskuse – Scans a solitary index, a catalog tree, or a whole commute and reports the measure of space utilized by every client or all clients gpotool – Display data about the GPOs in an area and check for irregularities crosswise over DCs klist – Display and cleanse the Kerberos tickets on a PC linkd – Create an intersection point (document connection) linkspeed – Determines connection velocity to a remote framework moveuser – Use MoveUser in the wake of moving a client to an alternate area so that the client can keep the client profile connected with the first client account ntrights – Grant or disavow an a good fit for a client or gathering of clients on a nearby or remote PC

Slide 11

Windows Resource Kit (cont’d) permcopy – Copy offer level consents starting with one share then onto the next perms – Display client access authorizations for a record or index showacls – Enumerates access rights for documents, organizers showpriv – Displays the rights relegated to clients and gatherings qgrep – Search a record or rundown of records for a particular string or example and return the line containing the match robocopy – Robust document duplicate utility srvcheck – Lists nonhidden offers on a PC and lists the ACLs for each srvinfo – Displays data around a server, including accessible circle space, allotment sorts, introduced hotfixes, and the status of administrations

Slide 12

Windows Support Tools System: whoami – Display the username, SID, and gatherings of the as of now signed on client pmon – Displays a few measures of processor and memory utilization of running procedures netdom – Manages PC names, trusts, and secure channels diruse – Displays catalog size data ACLs: acldiag – Detects and reports errors in ACLs of articles in Active Directory. It can likewise reapply a security designation format to an ACL xcacls – Query and alter document ACLs dsacls – Query and adjust Active Directory ACLs Network: portqry – Robust port question instrument netdiag – Network availability diagnostics device netcap – Command-line rendition of Netmon

Slide 13

Windows Support Tools (cont’d) Active Directory: dcdiag – Domain controller diagnostics device dsastat – Compare trees of two DCs and get article tally report nltest – Domain controller, trust and netlogon inquiry device movetree – Move objects inside of an area or to an alternate space repadmin – Advanced replication diagnostics device DNS: dnscmd – One stop look for dealing with the MS DNS server dnslint – Helps analyze regular DNS determination issues (MS KB 321045)

Slide 14

Downloadable Tools ( ) GPMC – Suite of gathering approach administration apparatuses which incorporates a few VBS scripts that can be utilized from the order line mbsacli – Security analyzer adtest – Active Directory load-era device that reenacts customer exchanges dsrevoke – Views and evacuates authorizations in Active Directory dsde – Part of the DSML for Windows establishment; inquiry, import and fare from AD utilizing LDAP or DSML subinacl – Robust ACL inquiry and alteration device

Slide 15

SFU 3.5 Available with the expectation of complimentary now: Contains numerous prominent UNIX devices: ksh ls wc vi feline cron/crontab grep/egrep/fgreg head/tail cp/mv/rm ps top And numerous more…

Slide 16

Other Command-Line Tool Resources Sysinternals Joeware Miscellaneous

Slide 17

Sysinternals ( handle – Display the documents and organizers a procedure has open listdlls – Display the DLLs that has a procedure has stacked or the procedures that are utilizing a specific DLL netstatp – View open ports and the procedures and conventions connected with them sdelete – “Securely” erase documents adrestore – Enumerate and restore erased articles in AD intersection – Similar to linkd ; makes intersection focuses (i.e., document/envelope joins)

Slide 18

Sysinternals (PS Tools) PsExec – Execute forms remotely PsFile – Show open records remotely PsGetSid – Display the SID of a PC or a client PsKill – Kill forms by name or procedure ID PsInfo – List data around a framework PsList – List definite data about procedures PsLoggedOn – See who\'s signed on locally and by means of asset sharing PsLogList – Dump occasion log records PsPasswd – Changes account passwords PsService – View and control administrations PsShutdown – Shuts down and alternatively reboots a PC PsSuspend – Suspends forms PsUptime – Shows you to what extent a framework has been running subsequent to its last reboot

Slide 19

Joeware ( adfind – Robust and adaptable AD inquiry utility (the best around) oldcmp – Find old PC accounts and impair or erase them open – Find and open bolted out records adqueueloop – Similar to repadmin/line however incorporates the quantity of things in the inbound line and demonstrates the top thing in the line getuserinfo – net client on steroids secdata – Retrieve security-related information about clients from AD memberOf – Retrieve a user’s bunch participation from AD (shows settled gathering enrollment) sectok – Displays the SID and token (counting all sids/names of gatherings that token contains) of a client cpau – Similar to runas , yet gives you a chance to indicate a watchword as a choice

Slide 20

Miscellaneous blat – Sends the substance of a record in an email utilizing SMTP ( burrow – Advanced DNS inquiry utility ( whois – Query the whois database ( setacl – Modify the ACL (DACL and SACL) on documents, the registry, administrations, printers, and shares ( compname – Dynamically create and set the PC name based the serial number, framework GUID, MAC address, IP location, date, DNS name, or an irregular component ( Other destinations:

Slide 21

Q/A Thank you for your time! Email:

Slide 22

At a B

View more...