Scwcmd analyze in Window Server 2008

In this article I am going to explain about Scwcmd analyze command in Windows Server 2008 operating system and also explain it's related syntax.
  • 1575

Scwcmd:analyze  command in window server 2008

  • The Scwcmd:analyze command is a command-line tool of Windows Server 2008.

  • The Scwcmd:analyze command command is available in Windows Server 2008, Windows Server 2008 R2.

  • The Scwcmd:analyze command is used to determine whether a computer is in compliance with a policy. 

  • Secedit:analyze command results are returned in an .xml file.

Syntax

scwcmd analyze [[[/m:<ComputerName> | /ou:<Ou>] /p:<Policy>] | /i:<ComputerList>] [/o:<ResultDir>] [/u:<UserName>] [/pw:<Password>] [/t:<Threads>] [/l] [/e]

Parameter

Parameter

Description

/m:<ComputerName> It is define for the NetBIOS name, DNS name, or IP address of the computer to analyze.
/ou:<OuName> It is define for the fully qualified domain name (FQDN) of an organizational unit (OU) in Active Directory Domain Services. All computers in the OU will be analyzed against the given policy.
/p:<Policy> It is define for the path and file name of the .xml policy file to be used to perform the analysis.
/i:<ComputerList> It is define for the path and file name of an .xml file that contains a list of computers along with their expected policy files. All computers in the .xml file will be analyzed against their corresponding policy files.
/o:<ResultDir> It is define for the path and directory where the analysis result files should be saved. The default is the current directory.
/u:<UserName> It is specify for an alternate user credential to use when performing the analysis on a remote computer. The default is the logged on user.
/pw:<Password> It is specify for an alternate user credential to use when performing the analysis on a remote computer. The default is the password of the logged on user.
/t:<Threads> It is specify for the number of simultaneous outstanding analysis operations that should be maintained during the analysis The defaultValue is 40 and MinValue is 1 and MaxValue is 1000.
/l Causes the analysis process to be logged. One log file will be generated for each computer being analyzed. The log files will be stored in the same directory as the result files.
/e It is log an event to the Application Event log if a mismatch is found.

/?

It is used for displays help at the command prompt.

Ask Your Question 

Got a programming related question? You may want to post your question here 

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.