change path file to pandorawmic

This commit is contained in:
alejandro 2023-06-27 18:19:28 +02:00
parent 62c0d503e1
commit dc6e676c1d
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ Get the result of an arithmetic operation using distinct fields in a WMI query (
Usage: $0 [-wmicPath "<path_to_wmic>"] -host "<ip_address>" [-namespace "<namespace>"] -user "<username>" -pass "<password>" -wmiClass "<wmi_class>" -fieldsList "<class_fields_names>" [-queryFilter "<query_filter>"] -operation "<aritmetic_operation>" Usage: $0 [-wmicPath "<path_to_wmic>"] -host "<ip_address>" [-namespace "<namespace>"] -user "<username>" -pass "<password>" -wmiClass "<wmi_class>" -fieldsList "<class_fields_names>" [-queryFilter "<query_filter>"] -operation "<aritmetic_operation>"
-wmicPath Path to wmic command (Default: /usr/bin/wmic) -wmicPath Path to pandorawmic command (Default: /usr/bin/pandorawmic)
-host Target host -host Target host
-namespace WMI namespace -namespace WMI namespace
@ -84,7 +84,7 @@ if ($Param{Help}){
my $config; my $config;
# General parameters # General parameters
$config->{'wmicPath'} = $Param{wmicPath} || '/usr/bin/wmic'; $config->{'wmicPath'} = $Param{wmicPath} || '/usr/bin/pandorawmic';
$config->{'host'} = $Param{host} || ''; $config->{'host'} = $Param{host} || '';
$config->{'namespace'} = $Param{namespace} || ''; $config->{'namespace'} = $Param{namespace} || '';
$config->{'user'} = $Param{user} || ''; $config->{'user'} = $Param{user} || '';