Service Mapping commands not requiring a privileged user

Most of commands utilized by Service Mapping for discovery and mapping do not require elevated rights.

Review this list of commands to understand how Service Mapping uses them and to make sure that the virtual security of your company is not compromised.

Some commands are mandatory. The discovery process fails if Service Mapping cannot run these commands.

Operating systems

Table 1. AIX commands
Command Parameter Mandatory/Optional Description
awk various options Mandatory Parses the string.
istat file_name Optional Gets last modification time of file.
nslookup hostname Mandatory Resolve DNS host name.
ping -c count ip/host Mandatory Pings the host.
arp -an various options Mandatory Shows ARP table.
grep String to search Mandatory Finds string in previous command output.
traceroute -n ip_address Mandatory Shows layer 3 network route to target host.
netstat

-an

-Aan

Mandatory Shows open network connections.
ps -eo user, pid, ppid, comm, args Mandatory Gets the process list.
grep various options Mandatory Searches text in previous command output
find Directory and parameters to search Mandatory Searches for files by name or type.
Table 2. HP-UX commands
Command Parameter Mandatory/Optional Description
ping -c count ip/host Mandatory Pings the host.
arp -an Optional (required by network discovery) Shows the ARP table.
grep String to search Mandatory Finds string in previous command output.
awk various options Mandatory Parses the string.
traceroute -n ip_address Mandatory Shows layer 3 network route to target host.
netstat -an Mandatory Shows open network connections.
ps -eo user, pid, ppid, comm, args Mandatory Gets the process list.
grep various options Mandatory Searches text in previous command output
ps -eo user, pid, ppid, comm, args Mandatory Gets the process list.
find Directory and parameters for search Mandatory Searches for files by name or type.
Table 3. Linux
Commands Parameter Mandatory/Optional Description
nslookup hostname Mandatory Resolves the DNS host name.
ping -c count ip/host Mandatory Pings the host.
arp -an Optional (required for network path calculations) Shows the ARP table.
grep String to search Mandatory Finds the string in previous command output.
awk Various options Mandatory Parses the string.
netstat -an Mandatory Shows open network connections.
ps -eo user, pid, ppid, comm, args Mandatory Gets the process list.
grep Various options Mandatory Searches text in previous command output.
egrep Various options Mandatory Searches text in previous command output.
find Directory and parameters for search Mandatory Searches for files by name or type.
traceroute -n ip_address Optional (required for network path calculation) Shows the layer 3 network route to target host.
Table 4. Solaris
Command Parameter Mandatory/optional Description
nslookup hostname Mandatory Resolves the DNS host name.
ping -c count ip/host Mandatory Pings the host.
arp -an Optional (required for network path calculation) Shows the ARP table.
grep String to search Mandatory Finds the string in previous command output.
awk Various options Mandatory Parses the string.
traceroute -n ip_address Optional (required for network path calculation) Shows the layer 3 network route to target host.
netstat -an Mandatory Shows the open network connections.
zoneadm List Mandatory Shows the list of zones.
grep Various options Mandatory Searches text in previous command output.
egrep Various options Mandatory Searches text in previous command output.
find for search Directory and parameters Mandatory Searches for files by name or type.
Table 5. Windows WMI Queries
Query Description
Select * from Win32_ComputerSystem Gets the server basic information like serial number.
Select LastModified from CIM_LogicalFile Where Name=... Gets the last modification time of a file.
Select AddressWidth from Win32_Processor Gets the computer architecture (32 bit or 64 bit).
Select * From Win32_Process where (ProcessId = ?) Gets the process list running on the computer.
Select Name from CIM_LogicalDisk Gets the file systems on the computer, such as C: or D:.
Select FileName, Extension from CIM_Directory where Drive=’drive’ and Path='path' Gets the list of files in a specific directory.
Table 6. Windows commands
Command Parameter Mandatory/optional Description
get_process_info.exe Process_id Mandatory Extracts information on the processes using executable created by ServiceNow.
type File_name Mandatory Shows the text file content.
nslookup Host_name Mandatory DNS lookup
arp -a Optional (required for network path calculation) Shows the ARP table.
netstat -ano Mandatory Shows the network connections.
findstr Various options Mandatory Finds the string in the previous command output.
dir

/q

/s /b

Mandatory Lists files in the directories.
paping

--nocolor -c 1 -p

port_num

ip_address

Mandatory Utility to run TCP ping against given host.
ping

-n 1

ip_address/host

Mandatory Pings the host.
tracert Ip_address Optional (required for network path calculation) Shows the layer 3 network route to the target host.

Applications

Table 7. ABAP SAP Central Services (ASCS) (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
msg_server -V Optional Gets the version.
ping -n 1 Mandatory (For Windows only) Verifies that the host is answering.
netstat Various options Mandatory Lists open ports.
Table 8. Active Directory Domain Controller (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Gets open ports on
hostname - Mandatory Gets the hostname.
dir Various options Mandatory Lists all files in the specified folder.
Table 9. Apache Web Server (on Unix)
Command Parameter Mandatory/Optional Description
httpd -V Optional Gets the version.
cut Various options Mandatory Splits the output line.
opmnctl

status -fmt %cmp32%prt32%por40%pid

and

@farm status -noheaders -fsep "|" -fmt %cmp%prt%clu%ins%por
Optional This command is used only for discovering the OC4J connectivity.

Gets the status of the OPMN CTRL service.

sort -u Optional This command is used only discovering the Weblogic connectivity.

Sorts the output.

Table 10. Apache Web Server (on Windows)
Command Parameter Mandatory/Optional Description
httpd.exe -V Optional Gets the version.
opmnctl

status -fmt %cmp32%prt32%por40%pid

and

@farm status -noheaders -fsep "|" -fmt %cmp%prt%clu%ins%por
Optional This command is used only for discovering the OC4J connectivity.

Gets the status of the OPMN CTRL service.

Table 11. Apache Tomcat (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
version.sh/version.bat - Optional Gets the Tomcat version.
netstat Various options Mandatory Lists the open ports.
find -name Optional This command is used only for creating the web services connections.

Finds specific strings in files and folders.

Table 12. Apache Tomcat WAR (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
version.sh/version.bat - Optional Gets the Tomcat version.
netstat Various options Mandatory (Windows only) Lists the open ports.
Table 13. App TNS Service (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
netstat Various options Mandatory (On Windows only) Lists open ports.
grep Various options Mandatory (On Windows only) Extracts strings from the output.
Table 14. BIG-IP Local Traffic Manager (LTM ) F5 (on F5 BIG-IP)
Command Parameter Mandatory/Optional Description
b

rule [rule name] list

and

virtual address [entry_point.ip_address]
Optional This command is used only for creating connections from rules.

Lists existing rules on BIGPipe.

list

ltm rule [rule name]

and

data-group wts_routing_destination_prod | grep -A 1 [ep_uri]
Optional This command is used only for creating connections from rules.

Lists existing rules on TMSH.

Table 15. BMC CTRL-M Enterprise Manager (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
netstat Various options Mandatory (For Windows only) Lists open ports.
Table 16. BMC CTRL-M Gateway (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
find Various options Optional This command is used only to create connections to Control M Server.

Finds file and folder paths.

xargs grep <string> Optional This command is used only to create connections to IBM CTRL-M Server.

Runs the command on all lists from the output.

Table 17. BMC IT Asset Management (ITAM) Software
Command Parameter Mandatory/Optional Description
tnsping Various options Mandatory Retrieves information about Oracle connections.
Table 18. CA Identity Manager Provisioning Server (for Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
Table 19. Cisco ACE Command Line Interface (on Cisco CSM)
Command Parameter Mandatory/Optional Description
show context, running Mandatory Shows the requested information.
include - Mandatory Extracts strings from the output.
echo - Mandatory Displays strings to the output.
Table 20. Citrix Delivery Controller (on Windows)
Command Parameter Mandatory/Optional Description
powershell

Add-PSSnapin Citrix.Broker.Admin.V2; Get-BrokerApplication -Name [entry_point.name] | select Name,CommandLineExecutable,CommandLineArguments,WorkingDirectory,ApplicationType,BrowserName | Format-List

And

Add-PSSnapin Citrix.Broker.Admin.V2; Get-BrokerApplication -Name [entry_point.name] | select Name,CommandLineExecutable,CommandLineArguments,WorkingDirectory,ApplicationType,BrowserName | Format-List

And

dd-PSSnapin Citrix.Broker.Admin.V2; Get-BrokerMachine -DesktopGroupName ‘ [delivery_groups[1].name]
Mandatory Gets applications managed by this Delivery Controller.
Table 21. Citrix Netscaler (on Citrix Netscaler)
Command Parameter Mandatory/Optional Description
show cs policy, cs action,cs Policy, lb vserver Optional

This command is used only for discovering outgoing connections.

Shows the requested information.
grep Various options Mandatory Extracts strings from the output.
Table 22. Connect-IT Service (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
Table 23. EMC Documentum Docbase (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 24. FormEngine (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
Table 25. Generic application (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
tasklist Various options Mandatory Lists all running tasks.
Table 26. HAProxy (on Unix or Windows)
Command Parameter Mandatory/Optional Description
ls Various options Mandatory (On Unix only) Lists files and folders in the specified folder.
tail Various options Mandatory (On Unix only) Displays the end of the output.
Table 27. HP Service Manager Application Server
Command Parameter Mandatory/Optional Description
tnsping Various options Mandatory Retrieves information about Oracle connections.
netstat Various options Mandatory Lists open ports.
Table 28. HP Service Manager Index (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
Table 29. HP Service Manager Knowledge Base (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
Table 30. IBM WebSphere Message Broker (on Windows)
Command Parameter Mandatory/Optional Description
dmqdocbroker

-s -c getdocbasemap

and

-t [computer_system.primaryHostname] -s -c getdocbasemap

and

-s -c getservermap [docbas]

-t [computer_system.primaryHostname] -s -c getdocbasemap

[docbase]
Mandatory Gets the docbase information.
del Various options Mandatory Deletes the XML file containing the old binding information.
BTSTask ExportBindings /Destination:%TEMP%\MyBindings.xml /Database:[MgmtDbName] /server:[serverName] Optional This command is used only if there are not MSSQL credentials.

Extracts the binding info and places it into the XML file.

Table 31. IBM CTRL-M Server (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
Table 32. IBM CICS Transaction Gateway CTG (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Optional (For Windows only) This command is used only to create CICS connections.

Extracts strings from the output.

dir Various options Optional (For Windows only) This command is used only to create CICS connections. Lists files and folders in the specified folder.
type - Optional (For Windows only) This command is used only to create CICS connections. Displays the file content in the output.
Table 33. IBM DB2 (on Linux)
Command Parameter Mandatory/Optional Description
source [installed_dir]db2profile Mandatory Sets the DB2 variables.
db2 list database directory Mandatory Displays the DB2 installation parameters.
grep Various options Mandatory Extracts strings from the output.
head -1 Mandatory Displays only the first line from the output.
db2level - Mandatory Displays the DB2 version.
xargs -I {} echo list tablespace containers for {} ';' Optional This command is used only to create storage connections. Runs the command on all lists from the output.
Table 34. IBM DB2 (on Windows)
Command Parameter Mandatory/Optional Description
db2cmd /c /w /i Mandatory Lists the DB2 directories.
db2 list database directory Mandatory Displays the DB2 installation parameters.
find Various options Mandatory Finds specific strings in files, folders, or standard output.
dir Various options Mandatory Lists files and folders in the specified folder.
db2level - Mandatory Displays the DB2 version.
echo Various options Optional This command is used only for storage connectivity. Prints the strings in the output.
findstr Various options Optional This command is used only for storage connectivity.

Extracts strings from the output.

for Various options Optional This command is used only for storage connectivity. Runs loops.
Table 35. IBM J2EE EAR (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
find Various options Mandatory Finds specific strings in files and folders.
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
Table 36. IBM Websphere Application Server (on Unix)
Command Parameter Mandatory/Optional Description
versionInfo.sh - Optional Gets the Websphere Application Server version.
Table 37. IBM Websphere Portal (on Linux)
Command Parameter Mandatory/Optional Description
grep Various options Mandatory Extracts strings from the output.
find

-name

-type

Optional This command is used only for creating the Web Services connections.

Finds files and folders for the specific name.

Table 38. IBM Websphere Portal (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
netstat Various options Mandatory Lists the open ports.
find Various options Mandatory Finds specific strings in files and folders.
Table 39. IBM WebSphere Message Broker Flow (on Unix)
Command Parameter Mandatory/Optional Description
find

-name

-type

Optional This command is used only for creating the Web Services connections.

Finds files and folders for the specific name.

mqsiprofile - Mandatory Sets the variables for WebSphere Message Broker.
mqsireportbroker [broker name] Mandatory Gets the WebSphere Message Broker information.
mqsibrowse [broker name] -t BROKERRESOURCES Mandatory Displays the Message Broker information resources.
echo $ODBCINI Optional (On Unix only) This command is used only to create connections to IBM DB2.

Prints strings in the output.

Table 40. IBM WebSphere Message Broker Flow (on Windows)
Command Parameter Mandatory/Optional Description
mqsiprofile - Mandatory Sets the variables for WebSphere Message Broker.
mqsireportbroker [broker name] Mandatory Gets the WebSphere Message Broker information.
ps -ef Mandatory Gets the process information.
mqsibrowse [broker name] -t BROKERRESOURCES Mandatory Displays the Message Broker information resources.
echo $ODBCINI Optional (On Unix only) This command is used only to create connections to IBM DB2.

Prints strings in the output.

db2

list database directory

and

list node directory

Mandatory Displays DB2 installation parameters.
Table 41. IBM WebSphere Message Broker (on Unix)
Command Parameter Mandatory/Optional Description
mqsiprofile - Mandatory Sets the variables for WebSphere Message Broker.
mqsireportbroker [broker name] Mandatory Gets the WebSphere Message Broker information.
mqsibrowse [broker name] -t BROKERRESOURCES Mandatory Displays the Message Broker information resources.
find

-name

-type

Optional This command is used only for creating the Web Services connections.

Finds files and folders for the specific name.

Table 42. IBM WebSphere Message Broker (on Windows)
Command Parameter Mandatory/Optional Description
mqsiprofile - Mandatory SSets the variables for WebSphere Message Broker.
mqsireportbroker [broker name] Mandatory Gets the WebSphere Message Broker information.
ps -ef Mandatory Gets the process information.
mqsibrowse [broker name] -t BROKERRESOURCES Mandatory Displays the Message Broker information resources.
Table 43. IBM WebSphere MQ (on Unix)
Command Parameter Mandatory/Optional Description
dspmq - Mandatory Gets the queue manager status.
dspmqver - Mandatory Gets the queue manager version.
runmqsc [queue manager] Mandatory Gets the queue information.
Table 44. IBM WebSphere MQ (on Windows)
Command Parameter Mandatory/Optional Description
grep Various options Mandatory Extracts strings from the output.
dspmq - Mandatory Gets the queue manager status.
dspmqver - Mandatory Gets the queue manager version.
runmqsc [queue manager] Mandatory Gets the queue information.
Table 45. IBM WebSphere MQ Queue (on Unix)
Command Parameter Mandatory/Optional Description
dspmq - Mandatory Gets the queue manager status.
dspmqver - Mandatory Gets the queue manager version.
runmqsc [queue manager] Mandatory Gets the queue information.
Table 46. IBM WebSphere MQ Queue (on Windows)
Command Parameter Mandatory/Optional Description
dspmq - Mandatory Gets the queue manager status.
dspmqver - Mandatory Gets the queue manager version.
runmqsc [queue manager] Mandatory Gets the queue information.
Table 47. Jboss Module (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (On Windows only) Finds specific strings in files and folders.
netstat Various options Mandatory (On Windows only) Lists open ports.
Table 48. Jboss (on Unix and Windows)
Command Parameter Mandatory/Optional Description
find -name Mandatory Finds files and folders in the specified folder.
xargs grep <string> Optional Finds strings in all files found in the output file.
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
netstat Various options Mandatory Lists open ports.
Table 49. JRun (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
Table 50. JRun WAR Inc (on Unix and Windows)
Command Parameter Mandatory/Optional Description
find -name Mandatory Finds files and folders in the specified folder.
xargs grep <string> Optional Finds strings in the files found in the output file.
grep Various options Mandatory Extracts strings from the output.
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
netstat Various options Mandatory Lists open ports.
Table 51. Microsoft Exchange CAS (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
hostname - Mandatory Gets the hostname.
dir Various options Mandatory Lists files and folders in the specified folder.
tasklist Various options Mandatory Lists all running tasks.
del Various options Mandatory Deletes the XML file containing the old binding information.
echo Various options Mandatory Prints strings in the output.
powershell

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; Get-ExchangeServer -status -Identity [hostname]| export-clixml $env:TEMP\exchange_pwrshell_output.xml

and

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ExchangeServer -status -Identity [hostname]| export-clixml $env:TEMP\exchange_pwrshell_output.xml

and

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; Get-ExchangeServer| format-table -autosize -HideTableHeaders Name,Fqdn,IsMailboxServer

and

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ExchangeServer | format-table -autosize -HideTableHeaders Name,Fqdn,IsMailboxServer

and

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-MailboxServer | format-list
Optional This command is used only if you do not use TCP connections.

Gets the CAS status, server roles, and Exchange setup structure.

Caution: Do not use the dollar sign ($) in credentials for Exchange CAS, because Service Mapping uses the dollar sign for pattern variables in the powershell command.
find Various options Optional This command is used only if PowerShell is not operational.

Finds specific strings in the files and folders.

findstr Various options Mandatory Extracts strings from the output.
Table 52. Microsoft Dynamic CRM (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 53. Microsoft BizTalk Orchestration (on Windows)
Command Parameter Mandatory/Optional Description
echo Various options Mandatory Prints strings in the output.
Table 54. Microsoft BizTalk Server (on Windows)
Command Parameter Mandatory/Optional Description
echo Various options Mandatory Prints strings in the output.
del Various options Mandatory Deletes the XML file containing the old binding information.
BTSTask ExportBindings /Destination:%TEMP%\MyBindings.xml /Database:[MgmtDbName] /server:[serverName] Optional This command is used only if there are not MSSQL credentials.

Extracts the binding information and places it into the XML file.

Table 55. Microsoft Exchange BackEnd Server (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
hostname - Mandatory Gets the hostname.
tasklist Various options Mandatory Lists all running tasks.
Table 56. Microsoft Exchange FrontEnd Server (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
hostname - Mandatory Gets the hostname.
tasklist Various options Mandatory Lists all running tasks.
Table 57. Microsoft FAST Search Server (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
Table 58. Microsoft Exchange Hub Transport Server (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
hostname - Mandatory Gets the hostname.
dir Various options Mandatory Lists files and folders in the specified folder.
tasklist Various options Mandatory Lists all running tasks.
echo Various options Mandatory Prints strings in the output.
del Various options Mandatory Deletes the XML file containing the old binding information.
powershell

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; Get-ExchangeServer -status -Identity [entry_point.host_name]| export-clixml $env:TEMP\exchange_pwrshell_output.xml

And

"Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ExchangeServer -status -Identity [entry_point.host_name] | export-clixml $env:TEMP\exchange_pwrshell_output.xml
Optional This command is used only if you do not use TCP connections.

Gives the CAS status, server roles, and Exchange setup structure.

Caution: Do not use the dollar sign ($) in credentials for Exchange Hub Transport Server, because Service Mapping uses the dollar sign for pattern variables in the powershell command.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 59. Microsoft Internet Information Services (IIS) (on Windows)
Command Parameter Mandatory/Optional Description
appcmd.exe Various options Optional This command is used only for IIS version 7 and later.

Retrieves information about the specified application name.

Table 60. Microsoft Internet Information Services (IIS) Virtual Directory (on Windows)
Command Parameter Mandatory/Optional Description
appcmd.exe Various options Optional This command is used only for IIS version 7 and later.

Retrieves information about the specified application name.

iisapp.vbs Various options Optional This command is used only for IIS version 6.

Retrieves information about the specified application name.

dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
netstat Various options Mandatory Lists open ports.
Table 61. Microsoft .NET commands (on Windows)
Command Parameter Mandatory/Optional Description
ildasm.exe

text that contains process exe path

Mandatory This file is necessary for performing the put file operation on the ILDisassembler alias. This file disassembles strings from the command .exe file.
.findstr Various options Mandatory Gets the strings from the output.
dir Various options Mandatory Lists all files in the specified folder.
connection_strings_browser.exe [encrypted_configs[*].Name] Optional: This command is used only for creating database encrypted connections.

This file is necessary for performing the put file operation on theConnectionStringsBrowser alias.

Decrypts the database connections.
Table 62. Microsoft Exchange Mailbox (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
hostname - Mandatory Gets the hostname.
dir Various options Mandatory Lists files and folders in the specified folder.
tasklist Various options Mandatory Lists all running tasks.
del Various options Mandatory Deletes the XML file containing old binding information.
echo Various options Mandatory Prints strings in the output.
powershell

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ExchangeServer -status -Identity [entry_point.host_name]| export-clixml $env:TEMP\exchange_pwrshell_output.xml

And

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ExchangeServer -status | export-clixml $env:TEMP\exchange_pwrshell_output.xml

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; Get-ExchangeServer -status -Identity [entry_point.host_name]| export-clixml $env:TEMP\exchange_pwrshell_output.xml

And

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ClusteredMailBoxServerStatus | format-table -Property OperationalMachines

And

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ExchangeServer | format-table -autosize -HideTableHeaders Name,Fqdn,IsHubTransportServer

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; Get-ExchangeServer | format-table -autosize -HideTableHeaders Name,Fqdn,IsHubTransportServer

And

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-StorageGroup -server [hostname] | select SystemFolderPath | Export-Csv out.csv -notype;cat out.csv

And

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-StorageGroup | select SystemFolderPath | Export-Csv out.csv -notype;cat out.csv

And

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; Get-MailboxDatabase | select LogFolderPath | format-table -autosize -hideTableHeaders; Get-MailboxDatabase | select EdbFilePath| format-table -autosize -hideTableHeaders;Get-MailboxDatabase | select TemporaryDataFolderPath| format-table -autosize -hideTableHeaders
Optional This command is used only if you do not use TCP connections.

Gets the status, server roles, and the setup structure of Exchange Mailbox.

Caution: Do not use the dollar sign ($) in credentials for Exchange Mailbox, because Service Mapping uses the dollar sign for pattern variables in the powershell command.
find Various options Optional This command is used only if PowerShell is not operational.

Finds specific strings in the files and folders.

findstr Various options Mandatory Extracts strings from the output.
Table 63. Microsoft SharePoint (on Windows)
Command Parameter Mandatory/Optional Description
hostname - Mandatory Gets the hostname.
Table 64. Microsoft SQL Database (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
hostname - Mandatory Gets the hostname.
findstr Various options Mandatory Extracts strings from the output.
sqlcmd

-Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q"select nvcname+'###'+inboundtransporturl FROM adm_ReceiveLocation rl, bts_receiveport rp where rl.receiveportid=rp.nid”

and

-Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q" select nID,nvcName,nApplicationID from bts_receiveport”

and

-Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q" select nID,nvcName,nApplicationID from bts_sendport”

and

-Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q" select nOrcPortID,nReceivePortID,nSendPortid from bts_orchestration_port_binding”

and

- Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q"select nID,nOrchestrationID from bts_orchestration_port”

and

- Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q"select nID,nvcFullName from bts_orchestration”

and

- Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q" select ah.Name+'###'+bo.nvcNamespace+'.'+bo.nvcName+'###'+ase.Name from bts_orchestration bo, adm_Host ah,adm_server ase,adm_Server2HostMapping ash where bo.nAdminHostID = ah.ID and ase.ID = ash.ServerID and ah.ID = ash.HostID”

and

- Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q" select nID,nSendPortID,nvcAddress from bts_sendport_transport”
Optional This command is used only to discover Microsoft BizTalk.

Gets the BizTalk information from the database.

Table 65. Microsoft Message Queuing (MSMQ) (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
netstat Various options Mandatory Lists open ports.
Table 66. Microsoft SQL Database (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
netstat Various options Mandatory Lists open ports.
sqlservr.exe Optional Gets the version of the database from the executable file.
Table 67. MySQL Server (on Windows and Linux)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
netstat Various options Mandatory Lists open ports.
ps --pid=[process.pid] --no-headers -o " %U : %p : %a” Optional Gets the userid parameter value.
mysqld-nt/mysqld/mysqld.exe -V Mandatory Gets the version.
mysql

--user=[username] --password=[password] --port=[jdbc_port] --skip-column-names --silent --execute="SHOW ENGINE NDB STATUS;;”

and

--user=[username] --password=[password] --port=[jdbc_port] --skip-column-names --silent --execute="SHOW SLAVE STATUS;;”

and

--user=[username] --password=[password] --port=[jdbc_port] --skip-column-names --silent --execute="select host from information_schema.processlist where command like '%%binlog%%';;”
Optional This command is used only to create cluster node connections, master replications, and slaves.

Gets the deployment structure of the MySQL server.

which mysql Optional This command is used only to create cluster node connections, master replications, and slaves.

Gets the full path of MySQL cluster nodes.

Table 68. MySQL Cluster MGM Node (on Linux or Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
ndb_mgmd

-V

and

-e show
Mandatory Gets the version and status of the MySQL Cluster MGM node.
Table 69. Nginx (on Unix)
Command Parameter Mandatory/Optional Description
nginx -v Mandatory Gets the version.
egrep -v -e ^# -e "\t#" Optional This command is used if necessary to create HTTP connections.

Ignores special characters.

Table 70. Oracle E-Business Suite (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
export - Mandatory (For Unix only) Sets variables.
echo Various options Mandatory Prints strings in the output.
sqlplus Various options Mandatory Creates the connection to the Oracle instance.
awk Various options Mandatory (For Unix only) Manipulates the output.
netstat Various options Mandatory (For Windows only) Gets open ports.
Table 71. Oracle Advanced Queue Queue (on Unix or Windows)
Command Parameter Mandatory/Optional Description
export - Mandatory (On Unix only) Sets a variable.
echo Various options Mandatory Prints strings in the output.
sqlplus Various options Mandatory Creates connection to the Oracle instance.
set - Optional (On Windows only) Sets a variable.
netstat Various options Mandatory (On Windows only) Lists open ports.
Table 72. Oracle Concurrent Server (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
netstat Various options Mandatory (For Windows only) Lists open ports.
awk Various options Mandatory (For Unix only) Manipulates the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
Table 73. Oracle Discoverer Engine (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 74. Oracle Fulfillment Server (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 75. Oracle Fulfillment Server (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 76. Oracle HTTP Server (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 77. Oracle Metric Client (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 78. Oracle Metric Server (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 79. Oracle OACORE Server (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
dir Various options Mandatory Lists files and folders in the specified folder.
find Various options Mandatory Finds specified strings in the file and folders.
Table 80. Oracle OAFM Server (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
dir Various options Mandatory Lists files and folders in the specified folder.
find Various options Mandatory Finds specified strings in the file and folders.
Table 81. Oracle Database (on Unix)
Command Parameter Mandatory/Optional Description
export - Mandatory Sets the variable.
sqlplus -s [username]/[password]@[entry_point.instance] Optional This command is used only for getting the advanced queue information.

Gets the Oracle version and information about advance queue.

echo

-e set head off feed off pages 0 line 3000\\n\"select NAME || '##' || QUEUE_TABLE || '##' || QID || '##' || QUEUE_TYPE || '##' || RETENTION from DBA_QUEUES where OWNER = UPPER([entry_point.scheme]);

and

set head off feed off pages 0 line 3000\\n\"select NAME || '##' || QUEUE_TABLE || '##' || QID || '##' || QUEUE_TYPE || '##' || RETENTION from DBA_QUEUES where OWNER = UPPER([entry_point.scheme]);

and

select member as NEEBULA from v\$logfile;

and

select value as NEEBULA from v\$parameter where name='log_archive_dest'

and

select file_name as NEEBULA from dba_data_files;

and

select DB_LINK,HOST from DBA_DB_LINKS
Optional This command is used only for getting the advance queue information.

Gets the information about advance queue, storage devices, and database links.

lsnrctl

version

And

services
Optional This command is used only for discovering the real application cluster (RAC) version.

Gets the RAC version.

Table 82. Oracle Database (on Windows)
Command Parameter Mandatory/Optional Description
set - Mandatory Sets the variable.
sqlplus -s [username]/[password]@[entry_point.instance] Optional This command is used only for getting the advance queue information.

Gets the Oracle version and information about advance queue.

echo

-e set head off feed off pages 0 line 3000\\n\"select NAME || '##' || QUEUE_TABLE || '##' || QID || '##' || QUEUE_TYPE || '##' || RETENTION from DBA_QUEUES where OWNER = UPPER([entry_point.scheme]);

and

set head off feed off pages 0 line 3000\\n\"select NAME || '##' || QUEUE_TABLE || '##' || QID || '##' || QUEUE_TYPE || '##' || RETENTION from DBA_QUEUES where OWNER = UPPER([entry_point.scheme]);

and

select member as NEEBULA from v\$logfile;

and

select value as NEEBULA from v\$parameter where name='log_archive_dest'

and

select file_name as NEEBULA from dba_data_files;

and

select DB_LINK,HOST from DBA_DB_LINKS
Optional This command is used only for getting the advance queue information.

Gets the information about advance queue, storage devices, and database links.

lsnrctl

version

And

services
Optional This command is used only for discovering the real application cluster (RAC) version.

Gets the RAC version.

netstat Various options Mandatory Lists open ports.
Table 83. Oracle iAS Web Module (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
dir Various options Mandatory Lists files and folders in the specified folder.
find Various options Optional This command is used only to create the Web Services connections.

Finds specified strings in the file and folders.

netstat Various options Mandatory Lists open ports.
Table 84. Oracle Net Listener (on Unix)
Command Parameter Mandatory/Optional Description
lsnrctl

version

and

status

Mandatory Gets the version and status of the Oracle Net Listener.
export - Mandatory Sets the variable.
crsctl

status res -t

and

config service -d
Mandatory Gets the services status and configuration.
Table 85. Oracle Process Manager (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
dir Various options Mandatory Lists files and folders in the specified folder.
find Various options Mandatory Finds specified strings in the file and folders.
Table 86. Oracle Report Server (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
dir Various options Mandatory Lists files and folders in the specified folder.
find Various options Mandatory Finds specified strings in the file and folders.
Table 87. Oracle Tnslsnr Engine (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 88. Oracle WebLogic Module (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 89. Oracle WebLogic Server (version 10.3) (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 90. Oracle WebLogic On-demand Router Load Balancer (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
versionInfo.sh - Optional Gets the Websphere Application Server version.
Table 91. PostgreSQL Database (on Unix and Windows)
Command Parameter Mandatory/Optional Description
postgres -v Mandatory Gets the version.
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
Table 92. SAP BO BOXI ScheduleRouter (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
type - Mandatory
tnsping instance Optional This command is used to create connections to Oracle.
Table 93. SAP Business Objects CMS Server (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
dir Various options Mandatory Lists files and folders in the specified folder.
tnsping instance Optional This command is used to create connections to Oracle.

Gets the version.

Table 94. SAP Central Instance (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
disp + work -V Optional Gets the version.
ping -n 1 Mandatory (For Windows only) Verifies that the host is answering.
netstat Various options Mandatory Lists open ports.
Table 95. SAP NetWeaver Dialog Instance (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
disp + work -V Optional Gets the version.
ping -c 1 Mandatory (For Unix only) Verifies that the host is answering.
ping -n 1 Mandatory (For Windows only) Verifies that the host is answering.
netstat Various options Mandatory Lists open ports.
Table 96. SAP Evaluated Receipt Settlement (ERS) (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
disp + work -V Optional Gets the version.
ping -n 1 Mandatory (For Windows only) Verifies that the host is answering.
netstat Various options Mandatory Lists open ports.
Table 97. SAP HANA Database (on Unix or Windows)
Command Parameter Mandatory/Optional Description
hdbsql -v Optional Gets the version.
Table 98. SAP Java Cluster (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
jlaunch -V Optional Gets the version.
ping -n 1 Mandatory (For Windows only) Verifies that the host is answering.
netstat Various options Mandatory Lists the open ports.
Table 99. SAP Central Services (SCS) (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
msg_server -V Optional Gets the version.
ping -n 1 Mandatory (For Windows only) Verifies that the host is answering.
netstat Various options Mandatory Lists the open ports.
Table 100. SQL Server Analysis Services (SSAS) (on Windows)
Command Parameter Mandatory/Optional Description
MsMdSrv.exe -n Mandatory Gets the instance name.
netstat Various options Mandatory Lists the open ports.
Table 101. SQL Server Integration Services (SSIS) Job (on Windows)
Command Parameter Mandatory/Optional Description
MsMdSrv.exe -n Mandatory Gets the instance name.
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specified strings in the file and folders.
sqlcmd -Stcp:[computer_system.primaryManagementIP],[port] -y 0 -h-1 -E -Q"select convert(varchar(max), convert(varbinary(max),packagedata))from msdb.dbo.sysssispackages where name = '[name]' -o [tmp_dir]/[name].xml Optional This command is used only for discovering jobs.
Table 102. SQL Server Integration Services (SSIS) (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specified strings in the file and folders.
sqlcmd

-Stcp:[computer_system.primaryManagementIP],[$port] -h-1 -E -Q"SELECT [name] + '###DB' FROM msdb.dbo.sysssispackages"

and

-Stcp:[computer_system.primaryManagementIP],[$port] -h-1 -E -Q"ELECT [name] + '###JOB' FROM msdb.dbo.sysjobs"
Optional This command is used only if you need to discover jobs.
Table 103. Sun Directory (on Solaris)
Command Parameter Mandatory/Optional Description
slapd-dirserv -D [instance] -v Mandatory Gets the version.
netstat Various options Mandatory Lists the open ports.
Table 104. Sun iPlanet Web Server (on Solaris)
Command Parameter Mandatory/Optional Description
ls Various options Mandatory Lists files and folders in the specified folder.
netstat Various options Mandatory Lists the open ports.
Table 105. Sun JES (on Solaris)
Command Parameter Mandatory/Optional Description
configutil - Mandatory Gets the JES configuration.
Table 106. Sybase (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dataserverv -v Mandatory Gets the version.
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
Table 107. Symantec Enterprise Vault (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
netstat Various options Mandatory Lists open ports.
ping -n 1[ip] Mandatory Verifies that the SQL server is running.
Table 108. Tibco EMS Queue (on Unix or Windows)
Command Parameter Mandatory/Optional Description
rm -f /tmp/ems.cmd Mandatory Prepares the EMS script.
tibemsadmin -server tcp://+[computer_system.primaryManagementIP]:[port] -user [username] -password [password] -script [script] Mandatory Connects to the EMS administrator and gets the list of EMS Queue consumers.
echo Various options Mandatory Prints strings in the output.
Table 109. Tibco Enterprise Message Service (EMS) (on Unix and Windows)
Command Parameter Mandatory/Optional Description
rm -f /tmp/ems.cmd Mandatory Prepares the EMS script.
tibemsadmin -server tcp://+[computer_system.primaryManagementIP]:[port] -user [username] -password [password] -script [script] Mandatory Connects to the EMS administrator and gets the list of EMS Queue consumers.
echo Various options Mandatory (On Windows only) Prints strings in the output.
Table 110. Tibco ActiveMatrix BusinessWorks (on Unix or Windows)
Command Parameter Mandatory/Optional Description
TibcoFilesParser.ksh - Mandatory (For Unix only) This file is necessary for performing the put file operation. It replaces all tags in Tibco configuration files and puts them under the /tmp folder.
hostname - Mandatory Gets the hostname.
cd - Mandatory (On Unix only) Changes directory.
chmod - Mandatory (On Unix only) Changes file permissions.
for Various options Mandatory (On Unix only) Runs loops.
echo Various options Mandatory (On Unix only) Prints strings in the output.
if Various options Mandatory (On Unix only) Starts a condition.
wc -l Mandatory (On Unix only) Counts the output lines.
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
netstat Various options Mandatory Lists open ports.
Table 111. Tibco ActiveMatrix BusinessWorks Process (on Unix or Windows)
Command Parameter Mandatory/Optional Description
hostname - Mandatory Gets the hostname.
cd - Mandatory (On Unix only) Changes directory.
chmod - Mandatory (On Unix only) Changes file permissions.
for Various options Mandatory (On Unix only) Runs loops.
echo Various options Mandatory (On Unix only) Prints strings in the output.
if Various options Mandatory (On Unix only) Starts a condition.
wc -l Mandatory (On Unix only) Counts the output lines.
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
netstat Various options Mandatory Lists open ports.
cut Various options Mandatory (On Unix only) Splits the output line.