Create a .cmd file with something like this in it:
C:
CD "C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI"
powershell.exe -psc vim.psc1 " & "C:\scripts\<name of script>.ps1"
Create a .cmd file with something like this in it:
C:
CD "C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI"
powershell.exe -psc vim.psc1 " & "C:\scripts\<name of script>.ps1"