Download a few images from the web to work with this recipe. They could be anything, just ensure that all of them are of the same file type.
- Navigate to the location where you saved the image files.
- At the prompt, type in the following command to open your image viewer, and the files in it.
PS> Invoke-Item -Path *.png
- Now, create a text file in the same location.
PS> New-Item file-1.txt -ItemType File
- Now, invoke all the files in their respective applications.
PS> Invoke-Item *