Deployment Solution

 View Only
  • 1.  filter to check if powershell is installed

    Posted Jan 08, 2016 02:09 AM

    In a job I want to create a filter if powershell is installed. That means something in the altiris database to check on.

    Is I detect a service WS-Management, does that mean that Powershell is installed?



  • 2.  RE: filter to check if powershell is installed

    Posted Jan 08, 2016 02:25 AM

    Not a filter, I mean a condition

     



  • 3.  RE: filter to check if powershell is installed

    Trusted Advisor
    Posted Mar 02, 2016 05:27 PM

    You would need to create a custom inventory to gather the data.  I can provide details if you would like.

     



  • 4.  RE: filter to check if powershell is installed

    Posted Mar 11, 2016 02:56 AM

    How about this. In your job you run a vbscript to check if powershell.exe exists. Like this:

    ds1.PNG

     

    If it exists it will return 100 if not 101. In the job under return code you can use this code again to for example start another job. For example a powershell script if return code was 100. Otherwise you can stop the job.

    ds2.PNG

     



  • 5.  RE: filter to check if powershell is installed

    Posted Apr 12, 2016 08:49 AM

    Any luck with the condition?