Client Management Suite

Expand all | Collapse all

Kick off a managed software policy

Jump to Best Answer
  • 1.  Kick off a managed software policy

    Posted 10-07-2019 02:21 PM

    Is there a way in cmd or powershell to kick off a software managed policy? I have a policy that will install software, but because of a condition it won't install. I would like to run an action via a task/job to terminate the program then kick off the policy through cmd or powershell. Is that possible? Thanks.



  • 2.  RE: Kick off a managed software policy
    Best Answer

    Posted 10-07-2019 04:52 PM


  • 3.  RE: Kick off a managed software policy

    Posted 10-08-2019 10:48 AM

    I used this script to get all the com objects related to Altiris:

    Get-ChildItem HKLM:\Software\Classes -ErrorAction SilentlyContinue | Where-Object {
       $_.PSChildName -match '^\w+\.\w+$' -and (Test-Path -Path "$($_.PSPath)\CLSID") -and $_.PSChildName -like "Altiris*"
    } | Select-Object -ExpandProperty PSChildName

    Then to use one of them, I used:

    $AltirisComObject=New-Object -ComObject <Name of Com Object>