-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
Milestone
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
Execute :
Expand-Archive -Path "$ZIP_DIRECTORY$ZIP_NAME" -DestinationPath "C:$UNZIP_DIRECTORY[TEST]"
No problem with :
Expand-Archive -Path "$ZIP_DIRECTORY$ZIP_NAME" -DestinationPath "C:$UNZIP_DIRECTORY\TEST"
Expected behavior
Unzip in directory [TEST]Actual behavior
New-Item: An item with the specified name C:\$UNZIP_DIRECTORY\[TEST] already exists.Error details
New-Item: An item with the specified name C:\$UNZIP_DIRECTORY\[TEST] already exists.Environment data
Win10 + Powershell 7.2Visuals
No response