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

Host Name is Blank #755

Closed
3gfvgFWESAs44545 opened this issue Jul 9, 2024 · 12 comments
Closed

Host Name is Blank #755

3gfvgFWESAs44545 opened this issue Jul 9, 2024 · 12 comments
Assignees

Comments

@3gfvgFWESAs44545
Copy link

Describe the bug

When running silently and using the switches to produce a CSV the hostname field is blank. The other columns are filled in correctly.

To Reproduce

Run the program using the following switches /s /export CSV LOG.CSV

Expected behavior

The PC name is shown in the CSV

Screenshots


image

Desktop (please complete the following information):

  • OS: Windows 10
  • Version Enterprise 64bit 22H2

Additional context

I'm hoping to run this on all computers on site to produce a big CSV with the status for all computers, but obviously I will need the hostname for this to be useful. Many Thanks!

@rcmaehl
Copy link
Owner

rcmaehl commented Jul 9, 2024

Give me just a bit

@rcmaehl rcmaehl self-assigned this Jul 9, 2024
@rcmaehl
Copy link
Owner

rcmaehl commented Jul 9, 2024

Screenshots image

Looks like maybe the hostname ended up in the TPM field?

@3gfvgFWESAs44545
Copy link
Author

Screenshots image

Looks like maybe the hostname ended up in the TPM field?

Yes you are right, so perhaps the csv creation code is slightly wrong somewhere?

@rcmaehl
Copy link
Owner

rcmaehl commented Jul 9, 2024

Should be fixed in this build:

https://github.com/rcmaehl/WhyNotWin11/actions/runs/9857483366/artifacts/1682062538

I'll have a full 2.6.1.1 version out by end of day with a couple extra changes as well.

@3gfvgFWESAs44545
Copy link
Author

Should be fixed in this build:

https://github.com/rcmaehl/WhyNotWin11/actions/runs/9857483366/artifacts/1682062538

I'll have a full 2.6.1.1 version out by end of day with a couple extra changes as well.

That version seems to be working correctly now. many thanks for the rapid fix! :)

@PicoMitchell
Copy link

It looks like the download for https://github.com/rcmaehl/WhyNotWin11/actions/runs/9857483366/artifacts/1682062538 has expired. Is it possible to get a new temporary build, or is there an ETA on the 2.6.1.1 final release?

@micwoj92
Copy link
Collaborator

micwoj92 commented Oct 9, 2024

@PicoMitchell
Copy link

PicoMitchell commented Oct 9, 2024

When trying to do WhyNotWin11.exe /export CSV [PATH] /silent /force with that build, I'm just getting an alert window that says only "0" and an "OK" button, and I get no exported file at the specified path.

@rcmaehl
Copy link
Owner

rcmaehl commented Oct 9, 2024

When trying to do /export CSV [PATH] /silent /force with that build, I'm just getting an alert window that says only "0" and an "OK" button, and I get no exported file at the specified path.

Gimme a sec

@PicoMitchell
Copy link

PicoMitchell commented Oct 9, 2024

Correction, it IS outputting the file (I wasn't being patient enough after closing the "0" alert which the output process seems to hang on), but the alert with "0" isn't great when I need to use it silently within a script.

@rcmaehl
Copy link
Owner

rcmaehl commented Oct 9, 2024

Correction, it IS outputting the file (I wasn't being patient enough after closing the "0" alert which the output process seems to hang on), but the alert with "0" isn't great when I need to use it silently within a script.

https://github.com/rcmaehl/WhyNotWin11/actions/runs/11264180630/artifacts/2037598175

This has the dialog removed. Was fixing an edge case in which someone forgot the trailing \ in a directory

2.6.1.1 will be out tonight. I actually have most of the code for #757, I just have to finish and commit it before releasing that.

@PicoMitchell
Copy link

Working perfectly now. Thank you so much for the quick fix!

@rcmaehl rcmaehl closed this as completed Oct 10, 2024
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

4 participants