Index_S

 < Day Day Up > 



S

SAM (Security Accounts Manager)

Active Directory compared with, 199

queries using SAM account name, 206–7

SAM account name for groups, 258

–Samid parameter, DSQUERY, 207

SC (service controller), 92–100

SC CONFIG, 92, 96–97

SC FAILURE, 92, 98–100

SC PAUSE, 92, 95–96

SC QC, 92–95

SC QFAILURE, 92

SC QUERY, 92–95

SC START, 92, 95–96

SC STOP, 92, 95–96

Schedlgu.txt, 62

Scheduled Task Wizard. See Task Scheduler

Scheduled Tasks folder, 60–61

accessing, 60–61, 63

enabling/disabling tasks, 69

properties, 61, 68

removing tasks, 70

running tasks immediately, 69

Schtasks and, 70

scheduling tasks, 57–81

event-based tasks and, 59

on local and remote systems, 58

monitoring scheduled tasks, 62–63

overview, 57–59

print jobs, 287–88

Scheduled Tasks folder, 60–61

with Schtasks. See Schtasks

with Task Scheduler. See Task Scheduler

Windows features for, 58

schema master role, 233–34

Schtasks

changing task properties, 70, 76–77

deleting tasks, 70, 79–80

overview, 57

querying configured tasks, 70, 78

running tasks immediately, 70, 78–79

scheduling tasks, 70–75

stopping running tasks, 70, 79

scope, groups, 256–57, 262

scope, variable, 39

screen buffer, 10

scripts

adding comments, 28–29

arithmetic operators, 40–41

assignment operators, 40–41

clearing command-shell window before writing, 27–28

color settings, 32

command echoing and, 29–30

common statements and commands for, 27

comparison operators, 45–46

creating, 25–26

DISKPART, 143–49

ECHO OFF command, 30–31

environment variables, 33–34

exponential values, 42

for statements, 46–47

host, 107

if statements, 43–45

iterating through directories, 49–50

iterating through groups of files, 48–49

localizing scope of variables, 39

mathematical expressions, 40

name variables, 35–36

Netsh (network services shell), 300–301

operator precedence, 41–42

output of sample, 26–27

overview, 25

parsing file content and output, 50–53

passing arguments to, 32–33

procedures, 54, 56

search order and, 18

selection statements, 42–43

stepping through a series of values, 47–48

subroutines, 54–56

title settings, 31–32

tracking errors in, 111

value variables, 36–38

searches. See also queries

AD objects, 205

command executables, 17–19

command history, 11

computer accounts, 213–14, 222–24

contacts, 205

domain controllers, 205, 228–29

event logs with EVENTQUERY, 106

file system information with WHERE, 83–84

global catalog servers, 230

group accounts, 205, 260

logon and run as permissions for, 207–8

name, description, and SAM parameters, 206–7

network print devices, 286

OUs (organizational objects), 205

print drivers, 270–71

scope of, 208–11

scripts, 18

sites, 205

strings with FIND, 21

subnets, 205

user accounts, 205, 213–14, 245–47

security. See also passwords

event triggers and, 114

service accounts and, 97

user accounts, 242–43

Security Accounts Manager. See SAM (Security Accounts Manager)

security groups

creating, 256–58

as default group, 257

defined, 254

selection statements

comparison operators with, 45–46

if statements, 43–45

overview, 42–43

semicolon (;), 18

separator pages, 287

services

outages, 114

security of service accounts, 97

viewing relationship with running processes, 123–24

sharing printers, 286

shutdowns, Windows systems, 100–102

simple volumes, 184–85

single click option, mouse, 12

single quotation ('), 53

sites, Active Directory, 201, 205

skip option, file content/command output, 51–52

software RAID. See RAID

Source quench messages, ICMP, 314–15

spanned volumes, 185

special characters

escaping, 17

variable names and, 36

SPLINFO

detailed information on each print spooler, 273–76

output from, 272–73

print spooler information with, 272

spooler. See print spoolers

standard error, redirecting, 22

start node, DSQUERY, 209–11

starting command shell, 4, 16–17

startup files

MS-DOS command shell, 8

Windows command shell, 4–5

startup, configuring system, 96–97

statements, compared with commands, 27

static IP addresses, 301–2

strings, 45

striped sets. See RAID-0 (disk striping)

striping with parity. See RAID-5 (disk striping with parity)

subnet masks, 315

subnets

Active Directory, 201

directory queries for, 206

subroutines, 54–56

substitution, variable values, 37–38

subtraction (–) operator, 41

Success Audit events, 105

support tools. See Windows Support Tools

Suptool.msi, 12

switches, passing arguments to command line, 16–17

system

built-in variables, 33–34

gathering system information, 83–85

performance, 113

processes, 120–21

resources, 127–30

System Configuration Utility (Msconfig), 100

system idle, task scheduling, 59

System log, Event Log service, 104

system logon, task scheduling at, 59

system services. See also SC (service controller)

configuring recovery, 98–100

configuring startup, 96–97

managing, 92

querying configured services, 92–95

starting, stopping, pausing, 95–96

system start, task scheduling at, 59



 < Day Day Up > 



Microsoft Windows Command-Line Administrator's Pocket Consultant
MicrosoftВ® WindowsВ® Command-Line Administrators Pocket Consultant
ISBN: 0735620385
EAN: 2147483647
Year: 2004
Pages: 114

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net