0 Replies Latest reply on Jan 29, 2017 2:26 AM by tabrezg

    i want to build API using Powershell to get the list of installed software on the end points

    tabrezg

      i want to build API using Powershell to get the list of installed software on the end points

       

      currently i am using power shell command locally to get teh list of the applications. i need to somehow get the details in the EPO, please help. forgive me as i am new in the API and scripting

       

      $Regexes = 'Microsoft Visual*','Driver*','Microsoft Application Virtualization*','Adobe Reader XI','Adobe Shockwave Player 11.5','Crystal Reports Viewer 2008','OMM_*','TeamViewer*'

      Get-RemoteProgram -Property SystemComponent | Where-Object {($_.ProgramName -notmatch 'KB\d+') -and (-not $_.SystemComponent) -and $($ProgramName=$_.ProgramName;if (($Regexes | ForEach-Object {$ProgramName -notlike $_}) -contains $false) {$false} else {$true})}