-
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-DuplicateThe issue is a duplicate.The issue is a duplicate.WG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management modulecmdlets in the Microsoft.PowerShell.Management module
Description
Bug with set-location/cd/pushd command
step to reproduce
PS C:\Windows\System32> $PSVersionTable
Name Value
---- -----
PSVersion 7.0.0
PSEdition Core
GitCommitId 7.0.0
OS Microsoft Windows 6.3.9600
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
PS C:\Windows\System32> cd /
PS C:\Windows\System32> # work as expected
PS C:\> cd .\Windows\System32\
PS C:\Windows\System32> # ..but if i ran get-wmiobject...
PS C:\Windows\System32> get-wmiobject win32_Bios
SMBIOSBIOSVersion : xxxx
Manufacturer : xxxx
Name : xxxxx
SerialNumber : xxxxx
Version : xxxxx
PS C:\Windows\System32> # ... to work with Windows Powershell modules set-location/cd/pushd command's don't work as expected
PS C:\Windows\System32> cd /
PS C:\Windows\System32> cd \
PS C:\Windows\System32> Set-Location c:
PS C:\Windows\System32> Set-Location /
PS C:\Windows\System32> Set-Location \
PS C:\Windows\System32> pushd \
PS C:\Windows\System32> pushd /
PS C:\Windows\System32>
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-DuplicateThe issue is a duplicate.The issue is a duplicate.WG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management modulecmdlets in the Microsoft.PowerShell.Management module