Check if Windows Drive exists

In windows (yes I know) you can check if a drive exists by using IF EXIST E:\NUL echo yep it does .. that’s it . nJoy 😉  

Vmware Client Automating connections

This is a hint from Andrew Thanks..     C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe -i yes -s 10.21.68.8 -u root -p password   Works ! In a batch: start “VMLauncher” /D”C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\” VpxClient.exe -i yes -s 10.21.68.8 -u root -p password”   Thanks nJoy 😉    

Using Expect to automate an scp filetransfer

Sometimes you know passwords but are not ion a position to use shared keys. Solution is using expect to pass the password from a script read or a comman line parameter. ** NOTE Passwords in command lines are a really bad idea since you can see them in the history / ps -ef so best…