Skip to content

The term 'New-Guid' is not recognized as the name of a cmdlet, function #1424

Closed
@nsleigh

Description

@nsleigh

OS: Windows 7
PowerShell version: 4.0
$pseditor.EditorServicesVersion: 1.8

On upgrading version 1.8 I am seeing this error: PowerShell Editor Services The term 'New-Guid' is not recognized as the name of a cmdlet, function.

It looks like Start-EditorServices.ps1 is making use of the New-Guid function that was introduced in PS v5.

Workaround: edit Start-EditorServices.ps1 line 175 and change it to:
$PipeName = "PSES_$([guid]::newguid())"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions