Another example of the foreach. See code set 1. This time as an enumerator. Notice how we pass the get-acl the correct format of information (string) by using the $process.executablepath. Code 1 is more useful as a command however.