-
Notifications
You must be signed in to change notification settings - Fork 414
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
A lot of errors when running with -Extended #17
Comments
Hello! Thanks for reporting these issues. |
Sure, let me know if you need details or debug info from my end. |
Note to self The second error can be reproduced on one of my lab machines with the following command: PS C:\Users\Lab-User\Downloads> . .\PrivescCheck.ps1; Invoke-ProgramDataCheck
Get-Item : Could not find item C:\ProgramData\Chocolatey\.chocolatey.
At C:\Users\Lab-User\Downloads\PrivescCheck.ps1:1570 char:27
+ if ($(Get-Item -Path $ResolvedPath) -is [System.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\ProgramData\Chocolatey\.chocolatey:String) [Get-Item], IOException
+ FullyQualifiedErrorId : ItemNotFound,Microsoft.PowerShell.Commands.GetItemCommand |
My recent update should have fixed most of the errors you got. |
I close this issue for now. |
hey there, the previous errors are now fixed, Thanks!
It always displays the same line number 626 |
Hey, great tool!
I am testing on a Windows 10 Enterprise (20H2), it's spitting out a lot of errors.
Actual script output is diverted to a text file, so only errors are showing in PS console, I also have local admin privs but did not run PS as administrator.
Let me know if you need more details!
The text was updated successfully, but these errors were encountered: