Skip to content

v7.0.0-preview.1: can't open a URL with Start-Process #9791

@sba923

Description

@sba923

Steps to reproduce

Invoke the following:

Start-Process "http://www.microsoft.com"

Expected behavior

The specified URL is opened in the default browser

Actual behavior

Start-Process : Cannot find drive. A drive with the name 'http' does not exist.
At line:1 char:1
+ Start-Process "http://www.microsoft.com"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (http:String) [Start-Process], DriveNotFoundException
+ FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.StartProcessCommand

Environment data

PS C:/Users/steph> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.0.0-preview.1
PSEdition                      Core
GitCommitId                    7.0.0-preview.1
OS                             Microsoft Windows 10.0.18362
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

Labels

Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions