Quantcast
Viewing all articles
Browse latest Browse all 21975

script to read file and check

need help creating powershell script which can read excel file as below

MachineID

ApplicationID

ApplicationName

Package Status

P231

831

Word

True

P231

832

Excel

False

P231

833

Outlook

True

P232

834

Chrome

False

P232

832

Excel

False

P232

831

Word

True

P233

831

Word

True

P233

832

Excel

False

P233

833

Outlook

True

-       

Need to create a script which can check if ONE application is packaged (i.e package status changes to TRUE ) , show how many machines it can unlock. (i.e all the applications within that machine is set to package status to TRUE.

This means output should only display the count of machines with ALL application package status marked true.

-       Input application ID with false status (should accept multiple) and output ONLY the count of machines with all application package status marked as TRUE.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>