Need help with my first PS script, any help appreciated

Good day everyone, I’m new to powershell scripting because I’ve been given the task to track usage of a specific software, without the purchase or installation of third party apps. This will help our company know if the software is being utilized on a regular basis and is worth keeping, or if it is time to sunset.

The only way I have been able to come up with is the counter in the AppLockerFileInformation command, which gives a count of how many times the app has been opened, according to the Event Viewer.

Get-AppLockerFileInformation -EventLog -EventType Allowed -Statistics | Format-Table -Property FilePath,Counter 

I would like to do this for a specific software (ie MS Word), to a list of remote computers that are in a text document, but with my limited knowledge of coding I am at an impasse. I’m hoping for the following end result to be a list something like:

Computer Name Counter PC1 30 PC2 59 PC3 42 

Any help would be greatly appreciated. Thanks in advance!

submitted by /u/Jeffenatrix
[link] [comments]

Leave a Reply