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

PowerShell Profile error #3242

Open
4 tasks
yagashiraevil opened this issue Mar 7, 2025 · 2 comments
Open
4 tasks

PowerShell Profile error #3242

yagashiraevil opened this issue Mar 7, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@yagashiraevil
Copy link

⚙️ Issue Checklist

  • I have read the guidelines.
  • I checked for duplicate issues.
  • I searched for existing discussions.
  • I checked for an existing pull request that addresses this issue.

📜 What part of Winutil are you having issues with?

Powershell Profile

📝 Provide a clear and concise description of the issue.

Image
What is the issue

🔄 Steps to reproduce the issue.

none

❌ Paste the full error output (if available).

PowerShell 7.5.0
MethodInvocationException: C:\Users\yagas\Documents\PowerShell\Microsoft.PowerShell_profile.ps1:81
Line |
81 | if (-not $debug -and | ~~~~~~~~~~~~~~~~~~ | Exception calling "ParseExact" with "3" argument(s): "Value cannot be null. (Parameter 's')" MethodInvocationException: C:\Users\yagas\Documents\PowerShell\Microsoft.PowerShell_profile.ps1:122 Line | 122 | if (-not $debug -and
| ~~~~~~~~~~~~~~~~~~
| Exception calling "ParseExact" with "3" argument(s): "Value cannot be null. (Parameter 's')"
Use 'Show-Help' to display help
Loading personal and system profiles took 1000ms.v

🖼️ Additional context.

No response

@yagashiraevil yagashiraevil added the bug Something isn't working label Mar 7, 2025
@yagashiraevil
Copy link
Author

I managed to fix the pervious issue now ended up with this.

Image

@yagashiraevil
Copy link
Author

Not sure what packages I installed, but now it's working for me.
https://gist.github.com/yagashiraevil/16cd366fbfdbb5c6d32e679e366680f1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant