Skip to content

register.ps1 is failing #1

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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