Stop VM Manager Tool
0 Votes |
Description
Property Details
26859 | |
Beta - Preliminary testing ready for more | |
Stop VM Manager Tool | |
VM Managers | |
HCL | |
Low | |
3/26/2021 12:00:00 AM | |
VMTool Stop Inventory | |
True | |
ArturZ on 6/29/2021 11:51:41 PM | |
ArturZ on 6/29/2021 11:56:14 PM | |
1531 Views / 3 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance
Used in 2 fixlets | * Results in a true/false |

(if (name of it as lowercase starts with "win") then (true) else ((name of it as lowercase starts with "linux") OR (name of it as lowercase starts with "aix") OR (name of it as lowercase starts with "mac") OR (name of it as lowercase starts with "hp-ux" AND ((architecture of it as lowercase contains "ia64") OR (family name of main processor as lowercase contains "pa-risc") OR (exists match (regex "^PA8[0-9]{3}(\s+)?$") of (family name of main processor)))) OR (exists match (regex "sunos 5\.(8|9|10|11)") of (name of it as lowercase)) of operating system)) of operating system AND (if exists property "in proxy agent context" then ( not in proxy agent context ) else true)
Used in 1 fixlet | * Results in a true/false |

if ((name of it as lowercase starts with "win" AND architecture of it as lowercase = "x86_64") OR (name of it as lowercase starts with "linux" AND architecture of it as lowercase = "x86_64")) of operating system then true else false
Used in 1 fixlet | * Results in a true/false |

if (name of operating system as lowercase starts with "win") then (exists folder ((if (version of client >= "9" as version) then (pathname of parent folder of data folder of client) else (pathname of parent folder of regapp "besclient.exe")) & "\LMT\VMMAN") whose (exists file "vmman.bat" of it)) else (exists folder (((if (version of client >= "9" as version) then (pathname of parent folder of data folder of client) else (pathname of parent folder of parent folder of client folder of site "actionsite"))) & "/LMT/VMMAN") whose (exists file "vmman.sh" of it))
Used in 1 fixlet | * Results in a true/false |

if (name of operating system as lowercase starts with "win") then (exists services "vmmansvc" whose (state of it = "Running")) else true
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
parameter "sourceReleaseDate" = "2021-03-26"
// WINDOWS
if {((name of operating system) as lowercase) contains "win"}
parameter "homefolder" = "{(if (version of client >= "9" as version) then (pathname of parent folder of data folder of client) else (pathname of parent folder of regapp "besclient.exe")) & "\LMT\VMMAN"}"
//------------------------------------------- [START] Upgrade part (WINDOWS)------------------------------------------------
// create folder to keep files
if {exists folder (parameter "homefolder" as string)}
if {exists folder ((parameter "homefolder" as string) & "\config")}
waithidden cmd.exe /c ""{parameter "homefolder" as string}\vmman.bat" -stop"
continue if {exit code of action = 0}
endif
endif
// NON-WINDOWS
else
parameter "homefolder" = "{(if (version of client >= "9" as version) then (pathname of parent folder of data folder of client) else (pathname of parent folder of parent folder of client folder of site "actionsite")) & "/LMT/VMMAN"}"
//------------------------------------------- [START] Upgrade part (NON_WINDOWS)------------------------------------------------
// create folder to keep files
if {exists folder (parameter "homefolder" as string)}
if {exists folder ((parameter "homefolder" as string) & "/config")}
wait {parameter "homefolder" as string}/vmman.sh -stop
continue if {exit code of action = 0}
endif
endif
endif
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |