-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Needs-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-By DesignThe reported behavior is by design.The reported behavior is by design.WG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management modulecmdlets in the Microsoft.PowerShell.Management module
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
Encountered in a script I'd like to use. Easy way to reproduce is like:
cd c:\users\my_name
$null > filename
Move-Item .\filename "C:\users\my_name\Deskto*"
Error: Move-Item: Invalid name.
In Powershell 5.1 this command succeeds just fine
Expected behavior
The file is moved to c:\users\my_name\DesktopActual behavior
Error: Move-Item: Invalid name.Error details
noneEnvironment data
Name Value
---- -----
PSVersion 7.3.5Visuals
No response
Metadata
Metadata
Assignees
Labels
Needs-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-By DesignThe reported behavior is by design.The reported behavior is by design.WG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management modulecmdlets in the Microsoft.PowerShell.Management module