Skip to content

Several Cmdlets from Microsoft.PowerShell.Core are missing #2122

Closed

Description

The following Cmdlets from Microsoft.PowerShell.Core are missing:

Cmdlet          Add-PSSnapin                                       3.0.0.0    Microsoft.PowerShell.Core
Cmdlet          Disable-PSRemoting                                 3.0.0.0    Microsoft.PowerShell.Core
Cmdlet          Enable-PSRemoting                                  3.0.0.0    Microsoft.PowerShell.Core
Cmdlet          Export-Console                                     3.0.0.0    Microsoft.PowerShell.Core
Cmdlet          Get-PSSnapin                                       3.0.0.0    Microsoft.PowerShell.Core
Cmdlet          Remove-PSSnapin                                    3.0.0.0    Microsoft.PowerShell.Core
Cmdlet          Suspend-Job                                        3.0.0.0    Microsoft.PowerShell.Core

At least the Export-Console and Suspend-Job Cmdlets should get implemented, a removal notice (ideally including explanation) should be added to release notes for the other Cmdlets if they will be permanantly removed.

Activity

  1. SteveL-MSFT commented on Aug 30, 2016

    @SteveL-MSFT
    Member

    PSSnapins are deprecated and not supported on this PowerShell. I thought we doc'd this, but don't see mention of it in this repo

  2. vors commented on Aug 31, 2016

    @vors
    Collaborator

    Command availability table need to be updated.

  3. added
    Issue-Bug
    WG-Cmdlets
    on Sep 1, 2016
  4. added
    Review - Committee
    and removed
    Issue-Bug
    Review - Committee
    on Nov 1, 2016
  5. added this to the milestone on Nov 2, 2016
  6. SteveL-MSFT commented on Nov 2, 2016

    @SteveL-MSFT
    Member

    @PowerShell/powershell-committee reviewed this. snapins and export-console are not supported and not part of PowerShell Core. PSRemoting needs to be ported for Windows and created for Linux (with optional OMI pkg). *Job is being done #1972

  7. modified the milestones: , on May 25, 2017
  8. joeyaiello commented on May 25, 2017

    @joeyaiello
    Contributor

    jeffbi did you ever happen to look into the Suspend-Job cmdlet? Looks like we don't have it on Windows either, not sure if we ever ruled out porting to .NET Core.

    Setting up another issue specifically for Enable/Disable-PSRemoting on Linux.

  9. jeffbi commented on May 25, 2017

    @jeffbi

    Joey Aiello (@joeyaiello) No, I didn't. None of my tests do anything with this cmdlet. It's been a while so I don't remember whether we discussed this.

  10. joeyaiello commented on Sep 19, 2017

    @joeyaiello
    Contributor

    To recap:

    • PSSnapins aren't coming back
    • Enable/Disable-PSRemoting is there now in Beta.7
    • Export-Console is also snap-in related
    • Suspend-Job should be its own issue, Steve Lee (@SteveL-MSFT) to investigate.
  11. iSazonov commented on Sep 26, 2017

    @iSazonov
    Collaborator

    Steve Lee (@SteveL-MSFT) Have we tracking Issue for Suspend-Job ?

  12. SteveL-MSFT commented on Sep 26, 2017

    @SteveL-MSFT
    Member

    Ilya (@iSazonov) Suspend-Job and Resume-Job only work with Workflow jobs which aren't supported.

  13. felixfbecker commented on Nov 16, 2017

    @felixfbecker
    Contributor

    Could someone explain me how I can test a Cmdlet with PowerShell core? I can't find any mentions in the new documentation and googling just brings up this old MSDN site which instructs to write a SnapIn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-AnsweredWG-Cmdlets

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions