vPro - Run Intel Platforms Discovery Utility - Windows
Log In or Register to download the BES file, and more.

0 Votes

Description

<enter a description of the task here>

Property Details

ID23930
StatusAlpha - Code that was just developed
TitlevPro - Run Intel Platforms Discovery Utility - Windows
DomainBESC
SourceInternal
Source Release Date9/3/2015 12:00:00 AM
Is TaskTrue
Added by on 3/17/2017 9:47:05 PM
Last Modified by on 3/17/2017 9:47:05 PM
Counters 374 Views / 16 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Windows Only (Relevance 2997197)
Used in 6448 fixlets and 32 analyses   * Results in a true/false
Show indented relevance
/* Windows Only */ windows of operating system
Used in 13 fixlets and 8 analyses   * Results in a true/false
Show indented relevance
/* Windows Vista or Higher */ version of operating system >= "6.0"
Used in 1 fixlet   * Results in a true/false
Show indented relevance
not exists it whose( (now - (modification time of it)) < 4 * day ) of files "results_Intel_Platform_Discovery.xml" of folders "__Global/Logs" of ((data folder of client)|(folder "/var/opt/BESClient/__BESData")|(folder "/Library/Application Support/BigFix/BES Agent/__BESData")|(folder "__BESData" of parent folder of client))

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
//  - This unzip is a compiled verion of unzip v5.52 fom http://info-zip.org/
// - https://www.virustotal.com/en/file/8d9b5190aace52a1db1ac73a65ee9999c329157c8e88f61a772433323d6b7a4a/analysis
prefetch unzip.exe sha1:e1652b058195db3f5f754b7ab430652ae04a50b8 size:167936 http://software.bigfix.com/download/redist/unzip-5.52.exe

// https://downloadcenter.intel.com/download/24667
prefetch PlatformDiscovery.zip sha1:7cc8e6685ebaceaf0dfe1aea953d8d6d18295d09 size:1097500 https://downloadmirror.intel.com/24667/eng/PlatformDiscovery.zip

utility __Download\unzip.exe
utility __Download\PlatformDiscovery.zip

waithidden __Download\unzip.exe -o "{ download path "PlatformDiscovery.zip" }" -d "{ pathname of download folder }"

// Command Line Options
// You can use any of these global command options from the Command Line Interface:
// - /? –Displays the help
// - /ReportToRCS RCSaddress – Sends platform discovery data to the RCS at the specified address. To Integrate with an Intel® SCS RCS server, please visit the Intel® SCS website at: https://www-ssl.intel.com/content/www/us/en/software/setup-configuration-software.html
// - /List – Displays a list of the solutions that this version of the utility can discover (instead of performing discovery)
// - /LogFile or – Creates a log file. If the command is supplied without the filename parameter, a new log file will then be created each time a discovery is run. If a filename is supplied, then the existing file will be overwritten each time a new discovery is run.
// - /Verbose – Changes the logging level to verbose, a detailed log.

// waithidden cmd /C echo "{ download path "PlatformDiscovery.exe" }" > "{ pathname of folders "__Global/Logs" of ((data folder of client)|(folder "/var/opt/BESClient/__BESData")|(folder "/Library/Application Support/BigFix/BES Agent/__BESData")|(folder "__BESData" of parent folder of client)) }/results_Intel_Platform_Discovery.xml"
wait cmd /C "{ download path "PlatformDiscovery.exe" }" > __Download\results_Intel_Platform_Discovery.xml

// Only continue if the command succeeded
continue if{ 0 = exit code of active action }

// Only continue if the xml file exists like it should, otherwise the next command would delete the old data but without new data to replace it.
continue if{exists files "results_Intel_Platform_Discovery.xml" of download folders}

delete "{ pathname of folders "__Global/Logs" of ((data folder of client)|(folder "/var/opt/BESClient/__BESData")|(folder "/Library/Application Support/BigFix/BES Agent/__BESData")|(folder "__BESData" of parent folder of client)) }/results_Intel_Platform_Discovery.xml"

copy "{ download path "results_Intel_Platform_Discovery.xml" }" "{ pathname of folders "__Global/Logs" of ((data folder of client)|(folder "/var/opt/BESClient/__BESData")|(folder "/Library/Application Support/BigFix/BES Agent/__BESData")|(folder "__BESData" of parent folder of client)) }/results_Intel_Platform_Discovery.xml"

// unnessiary error checking
continue if{ exists files "results_Intel_Platform_Discovery.xml" of folders "__Global/Logs" of ((data folder of client)|(folder "/var/opt/BESClient/__BESData")|(folder "/Library/Application Support/BigFix/BES Agent/__BESData")|(folder "__BESData" of parent folder of client)) }

// ForceRefresh should only happen to a small number of clients
//notify client ForceRefresh
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!