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