In this video, I show you how to use VBA, such as in Excel, to run any Powershell command. This is a useful way for VBA to run other programs on the computer, and get information from them in the form of standard output. This can greatly expand the reach of your macros.
Note: If you are having trouble with execution policy errors, try this "powershell -executionpolicy bypass (your_command_here)"
Source code and written tutorial: https://syntaxbytetutorials.com/how-t...
Nesta página do site você pode assistir ao vídeo on-line Use VBA To Run a Powershell Command and Get Return Value duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário SyntaxByte 30 Junho 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 9,119 vezes e gostou 61 espectadores. Boa visualização!