Start VSCode, Open a ps1 file or save the file that you have as. Now install OpenSSL on Mac OS by simply pasting the following command to the Terminal window: brew install openssl Verify PowerShell cmdlet intellisense in VSCode. This variable shall always be undefined if found openssl version is less than 0.9.8 or if platform is not MSVC.