Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

Using SearchDatastore to find a file.

$
0
0

     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.


Viewing all articles
Browse latest Browse all 1860


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>