Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-GitHubConfiguration parameters #367

Open
Liturgist opened this issue Sep 23, 2022 · 1 comment
Open

Get-GitHubConfiguration parameters #367

Liturgist opened this issue Sep 23, 2022 · 1 comment
Labels
enhancement An issue or pull request introducing new functionality to the project.

Comments

@Liturgist
Copy link

Feature Idea Summary

Make the Name parameter accept an array of names.

Add a -ListAvailable parameter that will produce and array of configuration variable names.

Add a -All switch that will produce an array of Name,Value objects for all configuration variables.

Feature Idea Additional Details

Requested Assignment

- If possible, I would like to implement this.

Operating SystemPS C:> Get-ComputerInfo -Property @(

        'OsName',
        'OsOperatingSystemSKU',
        'OSArchitecture',
        'WindowsVersion',
        'WindowsBuildLabEx',
        'OsLanguage',
        'OsMuiLanguages')

OsName : Microsoft Windows 10 Pro
OsOperatingSystemSKU : 48
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsBuildLabEx : 19041.1.amd64fre.vb_release.191206-1406
OsLanguage : en-US
OsMuiLanguages : {en-US}

PS C:> [ordered]@{

        'OSVersion' = ([System.Environment]::OSversion).VersionString
        'Is 64-bit' =  [System.Environment]::Is64BitOperatingSystem
        'Current culture' = (Get-Culture).Name
        'Current UI culture' = (Get-UICulture).Name
        'PSVersion' = $PSVersionTable.PSVersion.ToString()
        'PSEdition' = $PSVersionTable.PSEdition
    }

Name Value


OSVersion Microsoft Windows NT 10.0.19043.0
Is 64-bit True
Current culture en-US
Current UI culture en-US
PSVersion 7.2.6
PSEdition Core

PowerShell Version

PS C:> $PSVersionTable

Name Value


PSVersion 7.2.6
PSEdition Core
GitCommitId 7.2.6
OS Microsoft Windows 10.0.19043
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

Module Version

PS C:> @(

        "Running: $((Get-Module -Name PowerShellForGitHub) | Select-Object -ExpandProperty Version)",
        "Installed: $((Get-Module -Name PowerShellForGitHub -ListAvailable) | Select-Object -ExpandProperty Version)"
    ) -join [Environment]::NewLine

Running: 0.16.1
Installed: 0.16.1

@Liturgist Liturgist added enhancement An issue or pull request introducing new functionality to the project. triage needed An issue that needs to be reviewed by a member of the team. labels Sep 23, 2022
@HowardWolosky HowardWolosky removed the triage needed An issue that needs to be reviewed by a member of the team. label Sep 26, 2022
@HowardWolosky
Copy link
Member

HowardWolosky commented Sep 26, 2022

That sounds like a great idea, @Liturgist -- go for it! Thanks for the suggestion and offer for help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An issue or pull request introducing new functionality to the project.
Projects
None yet
Development

No branches or pull requests

2 participants