Партнерка на США и Канаду по недвижимости, выплаты в крипто

  • 30% recurring commission
  • Выплаты в USDT
  • Вывод каждую неделю
  • Комиссия до 5 лет за каждого referral
Table press Command Options

Option

Description

-r

Rename expanded files.

-d

Update compressed files only if they are not up-to-date.

-zx

Use LZX compression.

-z

Use MS-ZIP compression.

-zq[n]

Use quantum compression. Optional level n must be in the range 1 to 7. The default is 4.

driverquery Command

DriverQuery. exe provides a view of the currently loaded device drivers and their memory usage. The driverquery command displays a list of all installed device drivers and their properties. The syntax is

driverquery [/s computer] [/u domain\user /p password] [/fo {TABLE|LIST|CSV}] [/nh] [/v] [/si]

Table A.4. driverquery Command Options

Option

Qualifier

Description

/s

computer

Specifies the name or IP address of a remote computer with the local computer the default.

/u

domain\user

Runs the command with the account permissions of the user specified by user or domain\user. The default is the permissions of the logged-on user issuing the command.

/p

password

Specifies the password of the user account that is specified in the /u parameter.

/fo {TABLE|LIST|CSV}

Specifies the format to display the driver information. Valid values are TABLE, (the default), LIST, and CSV.

/nh

Omits the header row from the displayed driver information. Valid when the /fo parameter is set to TABLE or CSV.

/v

Specifies that detailed driver information be displayed.

/si

Displays digital signature information...signed and unsigned device drivers.

Directory Services Commands

The Directory Services commands are a suite of tools used to manage the various objects in Active Directory. Theses command-line tools are used to perform queries for information in the directory. The following list briefly describes some commands:

НЕ нашли? Не то? Что вы ищете?

·  dsadd creates an object instance of a specified type to the Active Directory.

·  dsmod modifies select attributes of an existing object in the Active Directory.

·  dsrm removes an object or the complete subtree of an object in the Active Directory.

·  dsmove moves an object from its current location to a new parent location within the same naming context or to rename an object in the Active Directory.

·  dsquery finds objects in the Active Directory that match a specified search criteria.

·  dsget gets or views select properties of an existing object in the Active Directory when the specific location of the object to be viewed is known.

All of the command-line tools can operate on a variety of object types in the directory. The identity of the targeted object is specified following the object type and in the format of a distinguished name such as CN=Jon Smith, OU=Sales, DC=microsoft, DC=com.

EXECUTING COMMANDS ON THE NETWORK

Each tool has parameters that allow you to specify the server, domain, user name, and password to use when executing the command. If parameters are not entered, the tool assumes the local server, domain, user name, and password.

Here is an example of the dsadd computer command:

dsadd computer ObjectDN

[-samid SAMName]

[-desc Description]

[-loc Location]

[-memberof Group...]

[(-s Server | - d Domain)]

[-u UserName]

[-p (Password | *)]

[-q]

COMMAND SYNTAX

The Directory Services commands use strict conventions to document the syntax of the DS command-line tools:

·  The option for a targeted object's distinguished name attribute is displayed as ObjectDN or, when multiple objects may be specified, ObjectDN....

·  A command does not perform any operation without an object type, such as computer.

·  The targeted object is obtained from standard input if the user does not specify an object at the command prompt.

·  The user must type parameters that appear in bold exactly as they appear in the syntax.

·  dsmod computer ObjectDN...

·  [-desc Description]

·  [-loc Location]

·  [-disabled (yes | no)]

·  [-reset]

·  [(-s Server | - d Domain)]

·  [-u UserName]

·  [-p {Password | *}]

·  [-C]

·  [-q]

·  Parameters in "[" and "]" (square brackets) indicate that they are optional.

·  Parameters or options separated by the "|" (pipe) character represent a choice of alternatives.

·  All alternatives for a parameter's value are enclosed in "(" and ")" (parentheses).

·  If the distinguished names themselves contain spaces, then they should be enclosed with " " (double quotation marks).

·  Commas that are not used as separators in distinguished names must be escaped with the backslash ("\") character (for example, "CN=Company\, Inc.,CN=Users, DC=microsoft, DC=com"). Backslashes used in distinguished names must be escaped with a backslash (for example, "CN=Sales\\ Latin America, OU=Distribution Lists, DC=microsoft, DC=com").

·  Parameters are not case-sensitive.

·  Command-line parameters can be specified with either the "-" (hyphen) or the "/" (forward slash).

·  A command-line parameter and any corresponding values for the parameter should be separated by at least one space.

·  Space and "newline" characters are treated as argument separators.

·  An empty string or null string value can be specified by "" (double quotation marks).

Table A.5. eventcreate Command Options

Option

Qualifier

Description

/s

computer

Specifies the name or IP address of a remote computer with the local computer default.

/u

domain\user

Runs the command with the account permissions of the user specified by user or domain\user. The default is the permissions of the user on the computer issuing the command.

/p

password

Specifies the password of the user account that is specified in the /u parameter.

/l {APPLICATION|SYSTEM}

Specifies the name of the event log where the event will be created. APPLICATION and SYSTEM are valid names of logs.

/so

SrcName

Specifies the source to use for the event.

/t {ERROR|WARNING|INFORMATION|SUCCESSAUDIT|FAILUREAUDIT}

Specifies the type of event to create. The valid types are ERROR, WARNING, INFORMATION, SUCCESSAUDIT, and FAILUREAUDIT.

/id

EventID

Specifies the event's ID. A valid ID is any number from 1 through 65535.

/d

description

Specifies the description to use for the newly created event.

eventcreate Command

Eventcreate. exe creates a user-defined event and enters it into any of the event logs. The eventcreate command enables an administrator to create a customized event in a specified event log. The syntax is

[View full width]

eventcreate [/s computer [/u domain\user [/p password]] {[/l {APPLICATION|SYSTEM}]|[/so

graphics/ccc.gifSrcName]} /t {ERROR|WARNING|INFORMATION|SUCCESSAUDIT|FAILUREAUDIT} /id EventID /d

graphics/ccc.gifdescription

Eventquery. vbs Script

Eventquery. vbs specifies the type of events to extract from the event log; the selected events can be displayed on the screen or saved to a file. The script lists the events and event properties from one or more event logs. The syntax is

[View full width]

eventquery[.vbs] [/s computer [/u domain\user [/p password]]] [/fi FilterName

graphics/ccc.gif] [/fo {TABLE|LIST|CSV}] [/r EventRange [/nh] [/v] [/l [APPLICATION] [SYSTEM] [SECURITY]

graphics/ccc.gif["DNS server"] [UserDefinedLog] [DirectoryLogName] [*] ]

Table A.6. eventquery Command Options

Option

Qualifier

Description

/s

computer

Specifies the name or IP address of a remote computer (local computer default).

/u

domain\user

Runs the script with the account permissions of the user specified by user or domain\user. The default is the permissions of the computer issuing the command.

/p

password

Specifies the password of the user account that is specified in the /u parameter.

/fi

FilterName

Specifies the types of events to include in or exclude from the query.

/fo {TABLE|LIST|CSV}

Specifies the format to use for the output. Valid values are table, list, and csv.

/r

EventRange

Specifies the range of events to list.

/nh

Suppresses column headers in the output. Valid only for table and csv formats.

/v

Specifies that verbose event information be displayed in the output.

/l [APPLICATION] [SYSTEM] [SECURITY] ["DNS server"]

[UserDefinedLog] [DirectoryLogName] [*] ]

Specifies the log(s) to monitor. Valid values are Application, System, Security, "DNS server", a user-defined log, and Directory log. "DNS server" can be used only if the DNS service is running on the computer specified by the /s parameter. To specify more than one log to monitor, reuse the /l parameter. The wildcard (*) can be used and is the default.

eventtriggers Command

The Eventtriggers. exe program launches a process based on the occurrence of an event written to the event log. The eventtrigger command provides the ability create, delete, and query based on triggers.

extract Command

Extract. exe extracts one or more files from a cab file. The syntax is

extract cabinet [filename...] [/a] [{/d | /e}] [/l dir] [/y]

extract source {[newName] | destination /c} [/y]

Table A.7. extract Command Options

Option

Qualifier

Description

cabinet

Specifies the name of a cabinet file containing two or more files.

filename

Specifies the name of the file to extract from the cabinet. You can use wildcard characters and multiple file names separated by blanks.

/a

Executes all cabinets and follows the cabinet chain starting in the first cabinet mentioned.

/d

Displays the directory of the cabinet file. Use /d with the cabinet file name to avoid extracting the files.

/e

Extracts all files from cabinet. Use /e instead of *.* to extract all files.

/l

dir

Extracts files to location dir; current directory is the default.

/y

Does not prompt before overwriting an existing file.

forfiles Command

Forfiles. exe operates only on selected file types (such as. bat only or. exe only). The forfiles command elects files in a folder or tree for batch processing. You must use forfiles within a batch file. The syntax is

forfiles [/pPath] [/mSearchMask] [/s] [/cCommand] [/d{+|/}{mm/dd/yyyy|dd}]

freedisk Command

Freedisk. exe allows operation if a specified percentage of disk space is free. The freedisk command checks to see if a specified amount of disk space is available when software is being installed. The syntax is

freedisk [/s System [/u [Domain\]User [/p [password]]]] [/d Drive] [Value]

gettype Command

Gettype. exe determines product type (such as Windows XP Professional, Windows Server 2003, and so on). This establishes the system environment variable ERRORLEVEL to the value associated with the specified gettype command-line option. The syntax is

gettype [/role | /sp | /ver | /minv | /majv | /type | /build]

Table A.8. forfiles Command Options

Option

Qualifier

Description

/p

Path

Specifies the path on which to start searching. Current folder is the default folder.

/m

SearchMask

Searches files according to SearchMask. The default SearchMask is *.*.

/s

Instructs forfiles to recurse into subdirectories.

/c

Command

Indicates a command to run on each file. You must wrap command strings with spaces in quotation marks. The default command is "cmd /c echo @file".

/d

{+|–} {mm/dd/yyyy |dd}

Defines files with a date greater than or equal to (+) or less than or equal to (–) the specified date, where mm/dd/yyyy is the specified date in (UTC) format and dd is the current date minus dd days.

/r

Instructs forfiles to select files in subdirectories as well as the current directory.

/v

Runs forfiles in verbose mode.

 

Table A.9. freedisk Command Options

Option

Qualifier

Description

/s

computer

Defines the name or IP address of a remote computer (local computer is default). This parameter applies to all files and folders specified in the command.

/u

domain\user

Runs the script with the permissions of the specified user account. System permissions is the default.

/p

password

Defines the password of the user account that is specified in the /u parameter.

/d

Drive

Defines the drive on which the availability of free space is to be known. Drive name must be specified for a remote computer.

 

Table A.10. gettype Command Options

Option

Qualifier

Description

/role

Defines the role of the operating system.

/sp

Defines the highest service pack installed.

/ver

Defines version information (major and minor).

/minv

Defines only minor version.

/majv

Defines only major version

/type

Defines the type of operating system installed.

/build

Defines the build number of the operating system.

gpresult Command

GPresult. exe launches the Resulting Set of Policies (RSoP) and list of policies that are applied to a computer. The gpresult command displays Group Policy settings and the RSOP for a user or a computer. The syntax is

[View full width]

gpresult [/s computer [/u domain\user /p password]] [/user TargetUserName] [/scope {

graphics/ccc.gifuser|computer}] [/v] [/z]

Table A.11. gpresult Command Options

Option

Qualifier

Description

/s

computer

Defines the name or IP address of a remote computer (local computer default.)

/u

domain\user

Runs the command with the account permissions of the user that is specified by user or domain\user. The default is the permissions of the user on the computer that issues the command.

/p

password

Defines user account password that is specified in /u parameter.

/user

TargetUserName

Defines the name of the user whose RSOP data is to be displayed.

/scope

{user|computer}

Displays either user or computer results. Valid values for the /scope parameter are user or computer. If you omit the /scope parameter, gpresult displays both user and computer settings.

/v

Defines that the output display verbose policy information.

/z

Defines that the output display all available information about Group Policy.

gpupdate

Replaces the secedit /refreshpolicy command available to Windows 2000 Servers. Initiates Group Policy refresh for local and Active Directory policy settings. The syntax is

gpupdate [/target:{computer|user}] [/force] [/wait:value] [/logoff] [/boot]

Option

Qualifier

Description

/target:

{computer|user}

Limit policy fresh to only the computer settings or user settings. Both settings are updated by default.

/force

Reapplies all settings without optimization.

/wait:

value

Time, in seconds, to wait for policy refresh; 600 is default, 0 is no wait, and –1 is wait without timeout.

/logoff

Some policies require the user to logoff and logon to obtain new environment settings. If no policies requiring logoff are set, the option has no effect. Folder Redirection and Software Installation are examples of this type of policy.

/boot

Some policies system restart to obtain new environment settings. If no policies requiring restart are set, the option has no effect.

/?

Displays this help/usage

Examples: gpupdate, gpupdate /target:user, gpupdate /force

IIS Scripts

IIS scripts provide command-line tools to configure, provision, and manage Internet Information Services (IIS) servers and Active Server Page (ASP) applications. For example, Ipseccmd. exe permits the user to view and modify the policies and properties of Internet Protocol (IP) security. These scripts are updated regularly by Microsoft. We recommend that you, as an administrator, check the Microsoft site often for updated scripts.

inuse Command

Inuse. exe allows files loaded into memory to be replaced on reboot. The inuse command replaces files that the operating system is currently using. You must be a member of the Administrators group to use this tool. The syntax is

inuse replacement destination [/y]

Table A.12. inuse Command Options

Option

Qualifier

Description

replacement

Defines the updated file name. Include the complete physical or UNC path name.

/d

destination

Defines the currently locked file that you want to replace on the local drive. Include the complete physical path name.

/y

Suppresses the confirmation prompt to replace the file.

netdom Command

The NetDom. exe permits server renaming. The command can add another name, or alias, for a computer to DNS and Active Directory. Once the new name has successfully replicated in DNS and Active Directory, the old name may then be removed with the NetDom. exe command.

Из за большого объема этот материал размещен на нескольких страницах:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19