Hi,
For now I'm writing and testing my PowerCLI scripts from a Linux machine (CentOS). This mostly works, apart from scripts where I need to use WMI or CMI objects.
At this time we have a wish to map Windows driveletters to the corresponding VMDK files. I have seen a number of scripts that can do that, however they only work when running a PS /PowerCLI from a windows machine.
Does anyone know if this can be achieved from a powershell/powercli script running on a Linux machine ?
Alternatively, is there a way to check on what kind of platform you are running the script on, in order to gracefully abort the script with messages ?
Thanks,
Hans






