Skip to content

register.ps1 is failing #1

@nikneem

Description

@nikneem

When I run the register script (Windows 11, in an admin console) I see the following error:

At D:\Downloads\copilot-office-addin-windows-v1.0.1\register.ps1:74 char:49
+ ... ite-Host "To unregister, run: .\unregister.ps1" -ForegroundColor Gray
+                                                   ~~~~~~~~~~~~~~~~~~~~~~~
The string is missing the terminator: ".
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString

Tried to play a bad with it but failed the get it working up and running properly, until I removed ALL the Write-Host lines. Removing all the lines made the script work properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions