Skip to content

Networking Introspection CmdLets are not available cross-platform #6076

@chrisfcarroll

Description

@chrisfcarroll

CmdLets in the NetTCPIP & other Net* modules are not available cross-platform.
My use-case: we use powershell + netCore as a cross-platform develop & deploy solution. (It's great!)
If I might offer an order of priorities based on that use-case, I would prioritise

  • 'Get-' and 'Test-' CmdLets over 'Set-' & mutators
  • NetTcpIp over other Net* modules

Rationale: In container and serverless application/service deployment, the ability (and hence the need) to mutate hardware and security configuration is limited; but the need to inspect network configuration does not go away.

So top of my list are:

Get-NetIPAddress
Test-NetConnection
Get-NetIPConfiguration
Get-NetIPInterface
Resolve-DnsName
Find-NetRoute

Environment data

> $PSVersionTable                                                                                                                                              

Name                           Value                                                                                                                                         
----                           -----                                                                                                                                         
PSVersion                      6.0.1                                                                                                                                         
PSEdition                      Core                                                                                                                                          
GitCommitId                    v6.0.1                                                                                                                                        
OS                             Darwin 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64                                 
Platform                       Unix                                                                                                                                          
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                       
PSRemotingProtocolVersion      2.3                                                                                                                                           
SerializationVersion           1.1.0.1                                                                                                                                       
WSManStackVersion              3.0  

> $PSVersionTable
PSVersion                      6.0.0-rc
PSEdition                      Core
GitCommitId                    v6.0.0-rc
OS                             Linux 4.4.51-40.58.amzn1.x86_64 #1 SMP Tue Feb 28 21:57:17 UTC 2017
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-No ActivityIssue has had no activity for 6 months or moreUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions