Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I run this script from a bat file? #1

Open
paolosezart opened this issue Apr 1, 2022 · 2 comments
Open

How do I run this script from a bat file? #1

paolosezart opened this issue Apr 1, 2022 · 2 comments

Comments

@paolosezart
Copy link

I would like to run it from a bat file, but I can't find information anywhere on how to do this. Is this possible with your script?

@DarkCoderSc
Copy link
Member

DarkCoderSc commented Apr 4, 2022

Just call PowerShell from your Batch script.

Use IEX (Get-Content <script_file> -Raw) then Invoke-<command>

@paolosezart
Copy link
Author

Could you write in detail what exactly I need to write in the bat file to call your powershell script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants