VMware {code} Community
williamglass14
Contributor
Contributor

Using SearchDatastore to find a file.

     I have a simple request, I am using VIperl to write my script.

I need to check for a file in a datastore location and then run my if statement. I have been able to use searchdatastore but it returns with a hash , I want just a simple true or false that the file exists or not.

0 Kudos
0 Replies