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

UEFI or Bios: Use AutoIt #145

Closed
htcfreek opened this issue Jun 28, 2021 · 4 comments
Closed

UEFI or Bios: Use AutoIt #145

htcfreek opened this issue Jun 28, 2021 · 4 comments

Comments

@htcfreek
Copy link
Contributor

htcfreek commented Jun 28, 2021

We could replace PowerShell here with GetEnv("...")!

Note: This isn't available on Win7. Possible fallback would be to parse sysinfo32 export to txt.

@rcmaehl
Copy link
Owner

rcmaehl commented Jun 28, 2021

Which environment variable?

@htcfreek
Copy link
Contributor Author

firmware_type

In your ps command you have $env:firmwaretyp and in Powershell $env: indicates it is an env var.

@htcfreek
Copy link
Contributor Author

Btw: My idea for win7 doesn't work.

@rcmaehl
Copy link
Owner

rcmaehl commented Jun 28, 2021

image

Oh. It does work.

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