{"id":13680304,"url":"https://github.com/stknohg/AdmxPolicy","last_synced_at":"2025-04-29T23:31:04.484Z","repository":{"id":147683181,"uuid":"83676349","full_name":"stknohg/AdmxPolicy","owner":"stknohg","description":"Get Group Policy information from ADMX files.","archived":false,"fork":false,"pushed_at":"2021-01-22T01:38:18.000Z","size":55,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-11T23:37:21.535Z","etag":null,"topics":["admx","group-policy","powershell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stknohg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-02T12:39:27.000Z","updated_at":"2023-09-17T18:13:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"f80913b4-9fb8-4d96-bfc7-24412521b44e","html_url":"https://github.com/stknohg/AdmxPolicy","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stknohg%2FAdmxPolicy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stknohg%2FAdmxPolicy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stknohg%2FAdmxPolicy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stknohg%2FAdmxPolicy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stknohg","download_url":"https://codeload.github.com/stknohg/AdmxPolicy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251599866,"owners_count":21615592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admx","group-policy","powershell"],"created_at":"2024-08-02T13:01:15.552Z","updated_at":"2025-04-29T23:30:59.470Z","avatar_url":"https://github.com/stknohg.png","language":"PowerShell","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"readme":"# AdmxPolicy\n\nGet Group Policy information from ADMX files.  \n\n## How to Install\n\nYou can install it from [PowerShell Gallery](https://www.powershellgallery.com/packages/AdmxPolicy/).\n\n```ps1\nInstall-Module -Name AdmxPolicy -Scope CurrentUser\n```\n\n## Usage\n\n### Get-AdmxFileInfo\n\nGet ADMX file meta information.\n\n```ps1\nGet-AdmxFileInfo -FilePath [ADMX file path]\n```\n\ne.g.\n\n```ps1\nPS C:\\\u003e Get-AdmxFileInfo -FilePath \"C:\\Windows\\PolicyDefinitions\\ActiveXInstallService.admx\" | Format-List\n\n\nName        : ActiveXInstallService.admx\nDisplayName : ActiveX Installer Service\nDescription : 承認されたインストール サイトから ActiveX コントロールをインストールする\nCategories  : {AxInstSv}\n```\n\n### Get-AdmxPolicies\n\nGet group policy information from an ADMX file.\n\n```ps1\nGet-AdmxPolicies -FilePath [ADMX file path]\n```\n\ne.g.\n\n```ps1\nPS C:\\\u003e Get-AdmxPolicies -FilePath \"C:\\Windows\\PolicyDefinitions\\ActiveXInstallService.admx\" | Select-Object -First 1 | Format-List\n\n\nName           : ApprovedActiveXInstallSites\nDisplayName    : ActiveX コントロールの承認されたインストール サイト\nExplainText    : このポリシー設定では、組織の標準ユーザーがコンピューターに ActiveX コントロールをインストールする際に使用できる ActiveX インストール サイトを\n                 決定します。この設定が有効になっている場合、管理者は、ホスト URL で指定された、承認された Activex インストール サイトの一覧を作成できます。\n\n                 この設定を有効にした場合、管理者は、ホスト URL で指定された、承認された ActiveX インストール サイトの一覧を作成できます。\n\n                 このポリシー設定を無効にした場合、または構成しなかった場合は、ActiveX コントロールのインストール前に、管理者資格情報を求めるダイアログが表示\n                 されます。\n\n                 注: ホスト URL を指定する際に、ワイルドカード文字は使用できません。\n\n\nRegistryType   : LocalMachine\nRegistryRootKeys : {HKEY_LOCAL_MACHINE}\nRegistryPath   : SOFTWARE\\Policies\\Microsoft\\Windows\\AxInstaller\nValueInfo      : AdmxPolicy.PolicyValueInfo\nFileName       : ActiveXInstallService.admx\n```\n\nGet group policy registry values.  \n\ne.g.\n\n```ps1\nPS C:\\\u003e $policy = Get-AdmxPolicies -FilePath \"C:\\Windows\\PolicyDefinitions\\ActiveXInstallService.admx\" | Select-Object -First 1\nPS C:\\\u003e $policy.Name\nApprovedActiveXInstallSites\nPS C:\\\u003e $policy.DisplayName\nActiveX コントロールの承認されたインストール サイト\nPS C:\\\u003e $policy.RegistryType\nLocalMachine\nPS C:\\\u003e $policy.RegistryRootKeys\nHKEY_LOCAL_MACHINE\nPS C:\\\u003e $policy.RegistryPSDrives\nHKLM:\nPS C:\\\u003e $policy.RegistryPath\nSOFTWARE\\Policies\\Microsoft\\Windows\\AxInstaller\nPS C:\\\u003e $policy.ValueInfo\n\nRegistryValueName EnabledValue DisabledValue HasEnabledList HasDisabledList HasElements\n----------------- ------------ ------------- -------------- --------------- -----------\nApprovedList      Decimal : 1  Decimal : 0   False          False           True\n\n\nPS C:\\\u003e $policy.ValueInfo.Elements.Items\n\nElementType Id                              RegistryPath                                                                RegistryValueName\n----------- --                              ------------                                                                -----------------\nList        ApprovedActiveXInstallSiteslist SOFTWARE\\Policies\\Microsoft\\Windows\\AxInstaller\\ApprovedActiveXInstallSites\n```\n\n## License\n\n[MIT](./LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstknohg%2FAdmxPolicy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstknohg%2FAdmxPolicy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstknohg%2FAdmxPolicy/lists"}