Use VBA To Run a Powershell Command and Get Return Value

Publié le: 30 juin 2022
sur la chaîne: SyntaxByte
9,119
61

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...


Sur cette page du site, vous pouvez voir la vidéo en ligne Use VBA To Run a Powershell Command and Get Return Value durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur SyntaxByte 30 juin 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 9,119 fois et il a aimé 61 téléspectateurs. Bon visionnage!