Message 1 of 2
Determine file extension before running power shell script
Not applicable
05-08-2015
09:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have created a power shell script but I need to check the selected file extension and only allow it to run on IPT or IAM files. How can I get the extension and exit the script if it is the wrong type?
Thanks for any assistance.
Mike