Skip to content

Conversation

@kylefmohr
Copy link
Contributor

@kylefmohr kylefmohr commented Mar 23, 2021

The current code causes a Powershell error that causes 'temp.csv' to never get attached to the email.
This is because the first PS line saves temp.csv to the user's home directory, whereas the second PS line tries to attach temp.csv from the system32 folder. To fix this I changed the first line to instead save it to system32, which is the default path for an admin Powershell session.

The current code causes a Powershell error that causes 'temp.csv' to never get attached to the email. This is because the first PS line saves temp.csv to the user's home directory, whereas the second PS line tries to attach temp.csv from the system32 folder. I changed the first line to instead save it to system32, which is the default path for an admin Powershell session.
@CedArctic
Copy link
Owner

Thank you @kylefmohr ! Forgive the delay in review, I'm merging the commit.

@CedArctic CedArctic merged commit 8ddb7b4 into CedArctic:master Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants