Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Windows Commands:


Note

ReadOnly Access, Local Admin/Domain Admin credential with Admin Privileges is needed a A local admin/domain admin credential, with ReadOnly access and admin privileges to run the commands, requests as well as and windows share where iQCloud needs when the application need to access configuration files


...


Command or Request
WMI requests:Win32_ComputerSystem
Win32_ComputerSystemProduct
Win32_SystemEnclosure
Win32_Process
Win32_DiskDrive
Win32_PhysicalMemory
Win32_Processor
Win32_OperatingSystem
Win32_BIOS
Win32_NetworkAdapter
MSCluster_Cluster
MSCluster_Resource
MSCluster_ClusterToNode
MSCluster_ClusterToResource
Msvm_ComputerSystem
Msvm_VirtualSystemSettingData
Remote registry requests
find
type
netstat 


unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin; /usr/bin/nsenter --net=/proc/PROC/ns/net -F -- hostname -I 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin; /usr/bin/nsenter --net=/proc/PROC/ns/net -F -- netstat -natpu 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin; nsenter --net=/proc/[0-9]+/ns/net -F -- ifconfig -a 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/bin/date +'%s' 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/bin/dmidecode.xml -V
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/tmp/dmidecode -s baseboard-serial-number 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/tmp/dmidecode -s bios-vendor 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/tmp/dmidecode -s bios-version 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/tmp/dmidecode -s system-manufacturer 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/tmp/dmidecode -s system-product-name 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/tmp/dmidecode -s system-serial-number 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/tmp/dmidecode -s system-uuid 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/u01/app/12.2.0.1/grid/tomcat/bin/catalina.sh version
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/contrib/bin/machinfo | grep "Firmware revision" 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/lib/bigtop-tomcat/bin/catalina.sh version
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock -V
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock -V
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/sbin/arp -a
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/sbin/dmidecode -s baseboard-serial-number 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/sbin/dmidecode -s bios-vendor 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/sbin/dmidecode -s bios-version 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/sbin/dmidecode -s system-manufacturer 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/sbin/dmidecode -s system-product-name 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/sbin/dmidecode -s system-serial-number 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/sbin/dmidecode -s system-uuid 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/sbin/dmidecode -V
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/sbin/ifconfig lan0
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --skip-log-error --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306 -V
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/sbin/mysqld --defaults-file=/u01/app/oracle/mysql/data/my.cnf --basedir=/usr --datadir=/u01/app/oracle/mysql/data --plugin-dir=/usr/lib64/mysql/plugin --user=oracle --log-error=/u01/app/oracle/mysql/data/mysqld.err --pid-file=/u01/app/oracle/mysql/data/mysqld.pid --socket=/u01/app/oracle/mysql/data/mysqld.sock --port=49500 -V
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;/usr/sbin/prtconf -V 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;arp -an | grep [0-9.]+
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;cat /etc/*release* 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;cat /etc/debian_version 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;cat /proc/scsi/scsi
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;curl --version 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;df -kI 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;df -lk 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;df -TPl -x tmpfs -B 1 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;dmesg | grep sda | grep -i attached
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;dmesg | grep sdb | grep -i attached
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;dmesg | grep sdc | grep -i attached
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;dmesg | grep sdd | grep -i attached
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;dmesg | grep sde | grep -i attached
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;dmesg | grep sdf | grep -i attached
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;dmesg | grep sdg | grep -i attached
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;docker inspect [a-z0-9]+
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;docker inspect -f '{{json .IPAM.Config}}' [a-z0-9]+
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;docker network ls |awk '{print $1}'
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;docker ps -a |awk '{print $1}'
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;docker version 2>/dev/null| grep 'Server version:'|awk '{print $3}';docker version 2>/dev/null| grep 'Version:'|awk '{print $2}' 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;echo "processor_count/D" | adb /stand/vmunix /dev/kmem |tail -1|awk -F: '{print $2}' 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;echo "sel d 1\ninfo;wait\nil\ns\n/tmp/cstm.txt\n\n" | /usr/sbin/cstm>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;echo "selclass qualifier cpu;info;wait;il"|cstm|grep "PDC Firmware" 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;echo $PATH
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;echo `uname -v 2>/dev/null`.`uname -r 2>/dev/null`
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;echo itick_per_tick/D \ #echo "itick_per_usec/d" | adb -k $HPUX /dev/kmem | adb $HPUX /dev/kmem | tail -1 | awk '{print $2}' 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;entstat en0 2>/dev/null| grep -i "Hardware Address"
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;fdisk -l | grep Disk
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;find /u01/app/oracle/ovm-manager-3/machine1/base_adf_domain -name config.xml
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;find /u01/bdd/v1.1.1/user_projects/domains/bdd-1.1.1.13.11_domain -name config.xml
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;getconf PAGE_SIZE
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;grep "Apache Tomcat/" /u01/app/12.2.0.1/grid/tomcat/logs/catalina*
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;grep "DISTRIB_ID\|DISTRIB_RELEASE\|DISTRIB_DESCRIPTION" /etc/*release* 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;grep "LANG" /etc/default/locale 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;grep "MemFree\|MemTotal" /proc/meminfo 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;grep "NAME\|VERSION_ID\|ID" /etc/*release* 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;grep "processor\|vendor_id\|flags\|model name\|cpu MHz\|cpu cores\|processor\|physical id\|core id" /proc/cpuinfo 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;grep "RELEASE" -hi /etc/*release* 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;grep -i $(model | tr "/" " " | awk '{print $NF}') /usr/sam/lib/mo/sched.models | awk '{print $NF}' 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;groups 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;hostid 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;hostname 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;hostname -I
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ifconfig -a 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ifconfig -a 2>/dev/null | grep "inet " | grep -v "127.0.0.1"
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;kstat -m cpu_info | egrep -i "clock_MHz|cpu_type|brand|clock_MHz|cpu cores|instance|core id" 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;last -n 10 -i
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;lparstat -i | grep 'Partition Name' | awk '/Partition Name/ {print $4}' 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;lparstat -i | grep 'Partition Number' | awk '/Partition Number/ {print $4}' 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;lparstat -i | grep Type | awk '/Type/ {print $3}' 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1 -Dcatalina.base=/var/lib/hadoop-httpfs/tomcat-deployment /conf/server.xml
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1 -Dcatalina.base=/var/lib/oozie/tomcat-deployment /conf/server.xml
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1 -Dcatalina.base=/var/lib/sqoop2/tomcat-deployment /conf/server.xml
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1 /u01/app/12.2.0.1/grid/tomcat/conf/server.xml
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1 /u01/app/12.2.0.1/grid/tomcat/webapps/ROOT/RELEASE-NOTES.txt
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1 /u01/app/oracle/ovm-manager-3/machine1/base_adf_domain/config/config.xml
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1 /u01/app/oracle/ovm-manager-3/machine1/base_adf_domain/servers/domain_bak/config_prev/config.xml
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1 /u01/bdd/v1.1.1/user_projects/domains/bdd-1.1.1.13.11_domain/config/config.xml
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1 /usr/lib/bigtop-tomcat/conf/server.xml
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1 /usr/lib/bigtop-tomcat/webapps/ROOT/RELEASE-NOTES.txt
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1 -Dplatform.home=/u01/app/oracle/Middleware//registry.xml
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1d $MYSQL_HOME/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1d /etc/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1d /etc/mysql/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1d /tmp/dmidecode
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1d /var/tmp/itscape/tools/curl
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1d ~/.my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1d --basedir=/usr/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1d --datadir=/u01/app/oracle/mysql/data/etc/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1d --datadir=/u01/app/oracle/mysql/data/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1d --datadir=/var/lib/mysql/etc/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -1d --datadir=/var/lib/mysql/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -F1 /u01/app/12.2.0.1/grid/tomcat/webapps/|grep /
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ls -F1 /usr/lib/bigtop-tomcat/webapps/|grep /
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;lsattr -El sys0 -a fwversion -F value 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;lsattr -El sys0 -a modelname -F value 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;lscfg -vpl sysplanar0 |grep -p "System:" |grep "Machine/Cabinet" 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;lscpu | grep -iE 'Hypervisor vendor:.*?(KVM|VMware)'
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;lshw -quiet -class disk
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;lsmod | grep -iE '(virtio|vmw)_balloon'
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;lsof
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;lsof -i -n -b -P -w
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;machinfo | grep "machine serial number" 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;model 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;mysqld -V
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;netstat -a -n
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;netstat -in
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;netstat -natpu
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;nginx -V 2>&1
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;numcore=`pmcycles -m | grep CPU | wc -l`; echo ${numcore##* } 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;numproc=`lsdev -Cc processor | grep Available | wc -l`; echo ${numproc##* } 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;pargs -l [0-9]+ 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;perl -e 'print int(time)' 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;pfiles [0-9]+
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;proc_no=`lsdev -Cc processor | head -1 | cut -d' ' -f1`;lsattr -El $proc_no | awk '/^type/ {print $2}' 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;procstr=`lsdev -Cc processor`;lsattr -El ${procstr%% *} -a frequency -F value 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;prtconf|grep "Memory size" 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ps -ef | sed -e 1,2d | pwdx `awk '{printf("%s\n",$1)}'` 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ps -ef 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ps -eo pid,ppid,comm,args | sed -e 1,2d | procwdx `awk '{printf("%s\n",$1)}'` 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ps -eo pid,ppid,comm,args | sed -e 1,2d | pwdx `awk '{printf("%s\n",$1)}'` 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;ps -eo pid,ppid,comm,args 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sneep 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -l -S -p '' 2>&1
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;ps -eo pid,ppid,comm,args | sed -e 1,2d |sudo -S -p '' pwdx `awk '{printf("%s\n",$1)}'` 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo /usr/bin/nsenter --net=/proc/[0-9]+/ns/net -F -- hostname -I 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo nsenter --net=/proc/16457/ns/net -F -- ifconfig -a 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo nsenter --net=/proc/21706/ns/net -F -- ifconfig -a 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo nsenter --net=/proc/25956/ns/net -F -- ifconfig -a 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo nsenter --net=/proc/7044/ns/net -F -- ifconfig -a 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo nsenter --net=/proc/7712/ns/net -F -- ifconfig -a 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' /usr/sbin/dmidecode -s baseboard-serial-number 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' /usr/sbin/dmidecode -s bios-vendor 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' /usr/sbin/dmidecode -s bios-version 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' /usr/sbin/dmidecode -s system-manufacturer 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' /usr/sbin/dmidecode -s system-product-name 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' /usr/sbin/dmidecode -s system-serial-number 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' /usr/sbin/dmidecode -s system-uuid 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' /usr/sbin/dmidecode -V
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' cat /proc/scsi/scsi
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' cat /sys/class/dmi/id/product_serial
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' docker inspect -f '{{json .IPAM.Config}}' [a-z0-9]+
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' docker inspect[a-z0-9]+
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' docker network ls |awk '{print $1}'
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' docker ps -a |awk '{print $1}'
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' docker version 2>/dev/null| grep 'Server version:'|awk '{print $3}';sudo -S -p '' docker version 2>/dev/null| grep 'Version:'|awk '{print $2}' 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' fdisk -l | grep Disk
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' groups 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' ls -1d $MYSQL_HOME/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' ls -1d /etc/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' ls -1d /etc/mysql/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' ls -1d ~/.my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' ls -1d --basedir=/usr/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' ls -1d --datadir=/var/lib/mysql/etc/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' ls -1d --datadir=/var/lib/mysql/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' ls -1d null/etc/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' ls -1d null/my.cnf
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' lshw -quiet -class disk
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;sudo -S -p '' true ;sudo -S -p '' netstat -natpu
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;totalsize=0;for i in `lscfg | grep -i mem | grep -i mem | awk '{print $2}'`;do((size=`lsattr -El mem0 | awk '/^size/ {print $2}'`));totalsize=`expr $totalsize + $size \* 1048576`;done; echo $totalsize 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;uname -i 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;uname -p 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;uname -r 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;uname -sm 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;uname -spm 2>/dev/null
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;whereis -b dmidecode
unix: PS1='$';LANG='C';LC_ALL='C';PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin;whereis -b nsenter
windows: '"C:\Program Files\VMware\Infrastructure\VirtualCenter Server\vpxd.exe" -v'
windows: '"C:\Program Files\VMware\vCenter Server\vpxd\vpxd.exe" -v'
windows: '"C:\Program/bin/catalina.bat version'
windows: 'C:\Windows\SYSMSI\SSEE\MSSQL.20059.\Tools\Binn\osql.exe -S .\MICROSOFT##SSEE -E -Q "USE master; SELECT Name FROM sysdatabases"'
windows: 'cmd /C dir /B /S " -Dcatalina.base="C:\Program \conf\server.xml"'
windows: 'cmd /C dir /B /S " -Dcatalina.base="C:\ProgramData\VMware\vCenterServer\data\perfcharts\tc-instance" \conf\server.xml"'
windows: 'cmd /C dir /B /S "C:\Program Files\ibm\WebSphere\AppServer\profiles\[A-Za-z0-9]+\config\cells\[A-Za-z0-9-]+\applications\[A-Za-z0-9]+.ear\deployments\[A-Za-z0-9]+\META-INF\application.xml"'
windows: 'cmd /C dir /B /S "C:\Program Files\ibm\WebSphere\AppServer\profiles\[A-Za-z0-9]+\config\cells\VM-DAIRIS-2K8ANode01Cell\nodes\VM-DAIRIS-2K8ANode01\serverindex.xml"'
windows: 'cmd /C dir /B /S "C:\Program Files\ibm\WebSphere\AppServer\properties\version\WAS.product"'
windows: 'cmd /C dir /B /S "C:\Program\conf\server.xml'
windows: 'cmd /C dir /B /S "C:\Program\webapps\ROOT\RELEASE-NOTES.txt'
windows: 'cmd /C dir /B /S "C:\rockandroll\IBMpower\TIP -Dpython.cachedir=C:\rockandroll\IBMpower\TIP\profiles\TIPProfile\temp\cachedir -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=C:\rockandroll\IBMpower\TIP\profiles\TIPProfile -Dcom.ibm.security.jgss.debug=off -Dcom.ibm.security.krb5.Krb5Debug=off -DTCDAlwaysGetCommonDir=false \properties\version\WAS.product"'
windows: 'cmd /C dir /B /S C:\rockandroll\IBMpower\TIP\profiles\TIPProfile\config\cells\[A-Za-z0-9-]+\applications\[A-Za-z0-9]+.ear\deployments\[A-Za-z0-9]+\META-INF\application.xml'
windows: 'cmd /C dir /B /S C:\rockandroll\IBMpower\TIP\profiles\TIPProfile\config\cells\TIPCell\nodes\TIPNode\serverindex.xml'
windows: 'cmd /C dir /B /S c:\windows\system32\inetsrv\Config\ApplicationHost.config'
windows: 'cmd /C dir /B /S c:\windows\system32\inetsrv\MetaBase.xml'
windows: 'cmd /C if not exist C:\temp\iquate\ mkdir C:\temp\iquate&&echo set oHTTP = CreateObject("WinHttp.WinHttpRequest.5.1")> c:\temp\iquate\http_get.vbs&&echo oHTTP.Option(4) = 13056: oHTTP.open "GET", WScript.Arguments(0),false: oHTTP.send sRequest>> c:\temp\iquate\http_get.vbs&&echo WScript.Echo oHTTP.responseText>> c:\temp\iquate\http_get.vbs&&call'
windows: 'cmd /C type " -Dcatalina.base="C:\Program \conf\server.xml"'
windows: 'cmd /C type " -Dcatalina.base="C:\ProgramData\VMware\vCenterServer\data\perfcharts\tc-instance" \conf\server.xml"'
windows: 'cmd /C type "C:\Program Files\ibm\WebSphere\AppServer\profiles\[A-Za-z0-9]+\config\cells\[A-Za-z0-9-]+\applications\[A-Za-z0-9]+.ear\deployments\[A-Za-z0-9]+\META-INF\application.xml"'
windows: 'cmd /C type "C:\Program Files\ibm\WebSphere\AppServer\profiles\[A-Za-z0-9]+\config\cells\[A-Za-z0-9-]+\nodes\[A-Za-z0-9-]+\serverindex.xml"'
windows: 'cmd /C type "C:\Program Files\ibm\WebSphere\AppServer\properties\version\WAS.product"'
windows: 'cmd /C type "C:\Program\conf\server.xml'
windows: 'cmd /C type "C:\Program\webapps\ROOT\RELEASE-NOTES.txt'
windows: 'cmd /C type "C:\rockandroll\IBMpower\TIP -Dpython.cachedir=C:\rockandroll\IBMpower\TIP\profiles\TIPProfile\temp\cachedir -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=C:\rockandroll\IBMpower\TIP\profiles\TIPProfile -Dcom.ibm.security.jgss.debug=off -Dcom.ibm.security.krb5.Krb5Debug=off -DTCDAlwaysGetCommonDir=false \properties\version\WAS.product"'
windows: 'cmd /C type C:\rockandroll\IBMpower\TIP\profiles\TIPProfile\config\cells\[A-Za-z0-9-]+\applications\[A-Za-z0-9]+.ear\deployments\[A-Za-z0-9]+\META-INF\application.xml'
windows: 'cmd /C type C:\rockandroll\IBMpower\TIP\profiles\TIPProfile\config\cells\TIPCell\nodes\TIPNode\serverindex.xml'
windows: 'cmd /C type c:\windows\system32\inetsrv\Config\ApplicationHost.config'
windows: 'cmd /C type c:\windows\system32\inetsrv\MetaBase.xml'
windows: 'findstr /c:"Apache Tomcat/" ""C:\Program\logs\catalina*"'
windows: hostname
windows: 'ipconfig'
windows: 'netstat -a -n -o'
windows: 'reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\v8.0\MailboxRole" /v ConfiguredVersion'
windows: 'reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp" /v MajorVersion'
windows: 'reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp" /v MinorVersion'
windows: 'reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\[A-Za-z0-9]+\Cluster" /v ClusterName'
windows: 'reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\[A-Za-z0-9]+\MSSQLServer\CurrentVersion" /v CurrentVersion'
windows: 'reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\[A-Za-z0-9]+\Setup" /v Edition'
windows: 'reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\[A-Za-z0-9]+\Setup" /v SQLDataRoot'
windows: 'reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\[0-9]+.0" /v BuildVersion'
windows: 'reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CurrentVersion'
windows: 'reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v Domain'
windows: 'reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v Hostname'
windows: 'reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters" /v MajorVersion'
windows: 'reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters" /v MinorVersion'
wmi: select * from MSCluster_Cluster
wmi: select * from Msvm_ComputerSystem
wmi: select * from Msvm_VirtualSystemSettingData
wmi: select * from Win32_BIOS
wmi: select * from Win32_ComputerSystem
wmi: select * from Win32_DiskDrive
wmi: select * from Win32_DiskDriveToDiskPartition
wmi: select * from Win32_LogicalDiskToPartition
wmi: select * from Win32_OperatingSystem
wmi: select * from Win32_Processor
wmi: select Antecedent,Dependent from Win32_DiskDriveToDiskPartition
wmi: select Antecedent,Dependent from Win32_LogicalDiskToPartition
wmi: select DeviceID,AdapterType,AdapterTypeID,Name from Win32_NetworkAdapter
wmi: select DeviceID,FreeSpace,DriveType,Name,Size from Win32_LogicalDisk
wmi: select Index,IPAddress,DHCPEnabled,IPSubnet,MACAddress,Description from Win32_NetworkAdapterConfiguration
wmi: select InstanceID,SystemName,BIOSGUID,BIOSSerialNumber,BaseBoardSerialNumber,ChassisSerialNumber from Msvm_VirtualSystemSettingData
wmi: select Name from Win32_ComputerSystem
wmi: select Name,Caption,Description,Manufacturer,SerialNumber,Version,OSLanguage,ProductType,OSType,ServicePackMajorVersion,ServicePackMinorVersion,CSDVersion,LocalDateTime from Win32_OperatingSystem
wmi: select Name,Caption,Manufacturer,SerialNumber,SMBIOSBIOSVersion from Win32_BIOS
wmi: select Name,CommandLine,ProcessId,ParentProcessId,ExecutablePath,CreationDate from Win32_Process
wmi: select Name,Description from MSCluster_Cluster
wmi: select Name,ElementName,EnabledState from Msvm_ComputerSystem
wmi: select Name,MaxClockSpeed,Manufacturer,Architecture,NumberOfCores,NumberOfLogicalProcessors from Win32_Processor
wmi: select Name,Model,Manufacturer,TotalPhysicalMemory from Win32_ComputerSystem
wmi: select Name,SerialNumber,Model,Size,MediaType,DeviceID from Win32_DiskDrive
wmi: select SerialNumber from Win32_SystemEnclosure
wmi: select Size from Win32_OperatingSystem
wmi: select Version from cim_datafile where Name = "[A-Z]:\\Program Files (x86)\\Microsoft SQL Server\\[A-Za-z0-9.$#-]+\\Binn\\sqlservr.exe"
wmi: select Version from cim_datafile where Name = "[A-Z]:\\Program Files( (x86))?\\Microsoft SQL Server\\MSSQL[0-9]+.[A-Za-z0-9.$#-]+\\MSSQL\\Binn\\sqlservr.exe"
wmi: select Version from cim_datafile where Name = "[A-Z]:\\Program Files\\Microsoft SQL Server\\MSRS10.[A-Za-z0-9]+\\Reporting Services\\ReportServer\\bin\\ReportingServicesService.exe"
wmi: select Version from cim_datafile where Name = "C:\\Windows\\SYSMSI\\SSEE\\MSSQL.2005\\MSSQL\\Binn\\sqlservr.exe"


Create method of the Win32_Process class

https://docs.microsoft.com/en-us/windows/desktop/CIMWin32Prov/create-method-in-class-win32-process

The Create WMI class method creates a new process.

This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.

Syntax

mof
uint32 Create(
  [in]  string               CommandLine,
  [in]  string               CurrentDirectory,
  [in]  Win32_ProcessStartup ProcessStartupInformation,
  [out] uint32               ProcessId
);

Parameters

CommandLine [in] Command line to execute. The system adds a null character to the command line, trimming the string if necessary, to indicate which file was actually used. CurrentDirectory [in] Current drive and directory for the child process. The string requires that the current directory resolves to a known path. A user can specify an absolute path or a path relative to the current working directory. If this parameter is NULL, the new process will have the same path as the calling process. This option is provided primarily for shells that must start an application and specify the application's initial drive and working directory. ProcessStartupInformation [in] The startup configuration of a Windows process. For more information, see Win32_ProcessStartup. ProcessId [out] Global process identifier that can be used to identify a process. The value is valid from the time the process is created until the time the process is terminated.

Return value

Returns a value of 0 (zero) if the process was successfully created, and any other number to indicate an error. For additional error codes, see WMI Error Constants or WbemErrorEnum. For general HRESULT values, see System Error Codes.

Successful completion (0) Access denied (2) Insufficient privilege (3) Unknown failure (8) Path not found (9) Invalid parameter (21) Other (22 4294967295)

Remarks

You can create an instance of the Win32_ProcessStartup class to configure the process before calling this method.

A fully qualified path must be specified in cases where the program to be launched is not in the search path of Winmgmt.exe. If the newly created process attempts to interact with objects on the target system without the appropriate access privileges, it is terminated without notification to this method.

For security reasons the Win32_Process.Create method cannot be used to start an interactive process remotely.

Processes created with the Win32_Process.Create method are limited by the job object unless the CREATE_BREAKAWAY_FROM_JOB flag is specified. For more information, see Win32_ProcessStartup and __ProviderHostQuotaConfiguration.

Examples

The following VBScript example demonstrates how to invoke a CIM method as if it were an automation method of SWbemObject.

VB
on error resume next

set process = GetObject("winmgmts:Win32_Process")

result = process.Create ("notepad.exe",null,null,processid)

WScript.Echo "Method returned result = " & result
WScript.Echo "Id of new process is " & processid

if err <>0 then
 WScript.Echo Err.Description, "0x" & Hex(Err.Number)
end if

The following Perl example demonstrates how to invoke a CIM method as if it were an automation method of SWbemObject.

VB
use strict;
use Win32::OLE;

my ($process, $outParam, $processid, $inParam, $objMethod);

eval { $process = 
 Win32::OLE->GetObject("winmgmts:{impersonationLevel=impersonate}!\\\\.\\root\\cimv2:Win32_Process"); };

if (!$@ && defined $process)
{
 $objMethod = $process->Methods_("Create");

 #Spawn an instance of inParameters and assign the values.
 $inParam = $objMethod->inParameters->SpawnInstance_ if (defined $objMethod);
 $inParam->{CommandLine} = "notepad.exe";
 $inParam->{CurrentDirectory} = undef;
 $inParam->{ProcessStartupInformation} = undef;

 $outParam = $process->ExecMethod_("Create", $inParam) if (defined $inParam);
 if ($outParam->{ReturnValue})
 {
  print STDERR Win32::OLE->LastError, "\n";
 }
 else
 {
  print "Method returned result = $outParam->{ReturnValue}\n";
  print "Id of new process is $outParam->{ProcessId}\n"
 }
}
else
{
 print STDERR Win32::OLE->LastError, "\n";
}

The following VBScript code example creates a Notepad process on the local computer. Win32_ProcessStartup is used to configure the process settings.

VB
Const SW_NORMAL = 1
strComputer = "."
strCommand = "Notepad.exe" 
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" _
    & strComputer & "\root\cimv2")

' Configure the Notepad process to show a window
Set objStartup = objWMIService.Get("Win32_ProcessStartup")
Set objConfig = objStartup.SpawnInstance_
objConfig.ShowWindow = SW_NORMAL

' Create Notepad process
Set objProcess = objWMIService.Get("Win32_Process")
intReturn = objProcess.Create _
    (strCommand, Null, objConfig, intProcessID)
If intReturn <> 0 Then
    Wscript.Echo "Process could not be created." & _
        vbNewLine & "Command line: " & strCommand & _
        vbNewLine & "Return value: " & intReturn
Else
    Wscript.Echo "Process created." & _
        vbNewLine & "Command line: " & strCommand & _
        vbNewLine & "Process ID: " & intProcessID
End If

Requirements




Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
NamespaceRoot\CIMV2
MOF

CIMWin32.mof

DLL

CIMWin32.dll


See also

Operating System Classes Win32_Process WMI Tasks: Processes




Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@1fb5c7
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("iqcloudkba","iqcloud") and type = "page" and space = "CSKB"
labelsiqcloudkba iQCloud

...