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...
En esta página del sitio puede ver el video en línea Use VBA To Run a Powershell Command and Get Return Value de Duración hora minuto segunda en buena calidad , que subió el usuario SyntaxByte 30 junio 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 9,119 veces y le gustó 61 a los espectadores. Disfruta viendo!