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

Error positional parameter #51

Closed
dakolta opened this issue Aug 20, 2022 · 1 comment
Closed

Error positional parameter #51

dakolta opened this issue Aug 20, 2022 · 1 comment

Comments

@dakolta
Copy link

dakolta commented Aug 20, 2022

Just uploaded v3.3.0-alpha2 and executed the script and got the following error:

Unexpected error. Exit.
Remove-Item : A positional parameter cannot be found that accepts argument 'System.__ComObject'.
At C:\drivers\desktops\Set-OutlookSignatures\Set-OutlookSignatures.ps1:2663 char:29
+ ...             Remove-Item (Join-Path -Path (Split-Path $path) -ChildPat ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Remove-Item], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand

Also attaching a verbose output:
SetSig.txt

@GruberMarkus
Copy link
Member

Thanks for pointing this out.
v3.3.0-alpha3 fixes this regression error.

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

2 participants