-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.
Milestone
Description
Steps to reproduce
- Create Ubuntu 18.04 VM in Azure
- wget https://github.com/PowerShell/PowerShell/releases/download/v7.0.0-preview.2/powershell-preview_7.0.0-preview.2-1.ubuntu.18.04_amd64.deb
- sudo apt install ./powershell-preview_7.0.0-preview.2-1.ubuntu.18.04_amd64.deb
- pwsh-preview
- new-item -ItemType Directory ./newfolder
In bash run
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
pwshThen, run
New-Item -ItemType Directory ./basExpected behavior
new folder is created.
Actual behavior
PS /home/amitsaraf> new-item -ItemType Directory ./newfolder
new-item : The type is not a known type for the file system. Only "file","directory" or "symboliclink" can be specified.
At line:1 char:1
- new-item -ItemType Directory ./newfolder
-
- CategoryInfo : InvalidArgument: (:) [New-Item], PSArgumentException
- FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.NewItemCommand
Environment data
Metadata
Metadata
Assignees
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.