Forum Discussion

Alpha45's avatar
Alpha45
Brass Contributor
Feb 05, 2025

Error PowerShell 30015-1015 (80)

Hello,

using P.Shell for office installation, with ODT, it gives me the following error shown in the photo, or opening the console in any folder with the right mouse button "open the P.S. window here" gives an error:

Missing termination character in the string: ". + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString

or

Set-Location : Impossibile trovare un parametro posizionale che accetta l'argomento 'Ripristino\Office\Office'.
In riga:1 car:1
+ Set-Location -literalPath D:\Ripristino\File Ripristino\Office\Office ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Set-Location], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

While if I run the command on the desktop, the window opens normally!

Thanks

  • Did that fix your issue? (I also see that you posted the same question a few times in the forum?)

      • Could you share more information than just the error code? We are here to help, but now it's just guessing because we only see the error you're receiving.

  • You should add "s because of the spaces in the path. For example:

    Set-Location -literalPath "D:\Ripristino\File Ripristino\Office\Office"

     

Resources