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...
Auf dieser Seite können Sie das Online-Video Use VBA To Run a Powershell Command and Get Return Value mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer SyntaxByte 30 Juni 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 9,119 Mal angesehen und es wurde von 61 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!