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

Get-PSAutorun -VerifyDigitalSignature throws Illegal characters in path #82

Closed
p0w3rsh3ll opened this issue Oct 12, 2020 · 0 comments
Closed

Comments

@p0w3rsh3ll
Copy link
Owner

Steps to reproduce

Get-PSAutorun -ScheduledTasks -VerifyDigitalSignature
Test-Path : Illegal characters in path.
At AutoRuns.psm1:2621 char:29

# this happens for example if there's a scheduletask value with
# C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -Exec Bypass -Command "Set-Service -Name AppIDSvc -StartupType Automatic"

Expected behavior

No error thrown

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      5.1.18362.752
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.18362.752
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
p0w3rsh3ll added a commit that referenced this issue Oct 12, 2020
p0w3rsh3ll referenced this issue Oct 12, 2020
Both internal functions are affected by the same issue. The fix is identical in both cases.
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