Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TestPathCommand and several others removed in PowerShell 7.2 SDK #16862

Copy link
Copy link
@colinblaise

Description

@colinblaise
Issue body actions

Prerequisites

Steps to reproduce

Using C# SDK, I updated Microsoft.PowerShell.Commands.Management from 7.1.5 to 7.2.1.

The SDK no longer has references to the following commands:

  1. JoinPathCommand
  2. TestPathCommand
  3. GetChildItemCommand
  4. GetItemCommand
  5. SetItemCommand

If this was intentional, how should I be referencing these commands?

Expected behavior

I need to import the commands listed under steps to reproduce

Actual behavior

I can now longer use the commands listed under steps to reproduce

Error details

No response

Environment data

Key                       Value
---                       -----
PSVersion                 7.2.1
PSEdition                 Core
GitCommitId               7.2.1
OS                        Linux 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021
Platform                  Unix
PSCompatibleVersions      {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion      1.1.0.1
WSManStackVersion         3.0

Visuals

No response

Reactions are currently unavailable

Metadata

Metadata

Labels

WG-DevEx-SDKhosting PowerShell as a runtime, PowerShell's APIs, PowerShell Standard, or development of moduleshosting PowerShell as a runtime, PowerShell's APIs, PowerShell Standard, or development of modules

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.