You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
on Linux, "gin" alias points to Get-ComputerInfo that's still unsupported #3577
Issue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issues
Get-ComputerInfo isn't supported on Linux currently, however, gin alias points to it. gin alias should be removed (for now).
Steps to reproduce
PS /> gin
gin : The term 'Get-ComputerInfo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Expected behavior
PS /> get-alias gin
get-alias : This command cannot find a matching alias because an alias with the name 'gin' does not exist.
Actual behavior
PS /> get-alias gin
CommandType Name
----------- ----
Alias gin -> Get-ComputerInfo
Hum! How about to mimic the series of Linux commands to list the Linux distro system configurations?
I don't think it need to be removed. As long as it can point to these Linux commands:
Maximo Trinidad (@MaximoTrinidad) I want to do that at some point, but it's really tricky considering how differently so much of that information is handled across distros/versions of Linux (especially in today's post-systemd world).
Good to know. Unfortunately, my knowledge of Linux systems management is pretty ad-hoc, and I've personally never leveraged /proc (I just use the GNU utils that probably read from it).
In any case, I think it's up-for-grabs and/or post-6.0.
Well, I think the Linux System Admin will definitely appreciate that there's a cmdlet that will provide system information on any Linux distros in a generic way. It really doesn't need to match Windows format.
:)
Issue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issues
Activity
iSazonov commentedon Apr 17, 2017
Joey Aiello (@joeyaiello) Steve Lee (@SteveL-MSFT) Have we plans to port
Get-ComputerInfobefore RTM?joeyaiello commentedon Apr 17, 2017
I don't believe so. And really, if we're not planning to get it working, we shouldn't just remove the alias, we should remove the cmdlet.
iSazonov commentedon Apr 17, 2017
Joey Aiello (@joeyaiello) Please clarify - remove from Windows too?
MaximoTrinidad commentedon Apr 17, 2017
Hum! How about to mimic the series of Linux commands to list the Linux distro system configurations?
I don't think it need to be removed. As long as it can point to these Linux commands:
lscpu
cat /proc/cpuinfo
cat /proc/meminfo
cat /proc/version
cat /etc/issue
That's my take!
joeyaiello commentedon Apr 17, 2017
Ilya (@iSazonov) no, just on Linux. We've got plenty of cmdlets exported there that aren't exported on Linux, we should just add it to that list.
joeyaiello commentedon Apr 17, 2017
Maximo Trinidad (@MaximoTrinidad) I want to do that at some point, but it's really tricky considering how differently so much of that information is handled across distros/versions of Linux (especially in today's post-systemd world).
iSazonov commentedon Apr 17, 2017
/proc is exposed by kernel so it would be "standard".
joeyaiello commentedon Apr 17, 2017
Good to know. Unfortunately, my knowledge of Linux systems management is pretty ad-hoc, and I've personally never leveraged
/proc(I just use the GNU utils that probably read from it).In any case, I think it's
up-for-grabsand/or post-6.0.MaximoTrinidad commentedon Apr 17, 2017
Well, I think the Linux System Admin will definitely appreciate that there's a cmdlet that will provide system information on any Linux distros in a generic way. It really doesn't need to match Windows format.
:)
jeffbi commentedon Apr 17, 2017
/procis standard on Linux, but not on OS X, which is BSD-based. There would need to be a completely different implementation to support OS X.alexandair commentedon Apr 17, 2017
Joey Aiello (@joeyaiello) Get-ComputerInfo is already removed from Linux. I've opened this issue to remove the "gin" alias as well.
joeyaiello commentedon Apr 17, 2017
Aleksandar Nikolić (@alexandair) ah, gotcha. That makes a lot more sense. Yeah, let's just do that. Easy to fix.