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

_SMSTSLOGPath null #307

Open
aarnold-sd68 opened this issue Mar 1, 2021 · 0 comments
Open

_SMSTSLOGPath null #307

aarnold-sd68 opened this issue Mar 1, 2021 · 0 comments

Comments

@aarnold-sd68
Copy link

I created a TS for upgrading drivers on Windows, and for some reason it fails trying to create the log file. If I replace the default log directory $LogsDirectory = $Script:TSEnvironment.Value("_SMSTSLogPath") with the debug line $LogsDirectory = Join-Path -Path $env:SystemRoot -ChildPath "Temp" everything works. There was an issue reports last year about why you didn't use the TSEnvironment.Value("_SMSTSLogPath"), but could not remember why. Could it be that this doesn't always exist? or is their something wrong with what I've done?

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

1 participant