{"id":14064277,"url":"https://github.com/jdhitsolutions/PSPivotTable","last_synced_at":"2025-07-29T17:33:14.678Z","repository":{"id":145020804,"uuid":"43213394","full_name":"jdhitsolutions/PSPivotTable","owner":"jdhitsolutions","description":"A command to create an Excel-like Pivot table in the PowerShell console.","archived":false,"fork":false,"pushed_at":"2018-10-23T20:33:17.000Z","size":30,"stargazers_count":27,"open_issues_count":5,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-03T07:37:20.551Z","etag":null,"topics":["powershell","powershell-module"],"latest_commit_sha":null,"homepage":null,"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/jdhitsolutions.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-09-26T16:35:40.000Z","updated_at":"2023-02-16T08:37:36.000Z","dependencies_parsed_at":"2023-05-02T05:02:46.283Z","dependency_job_id":null,"html_url":"https://github.com/jdhitsolutions/PSPivotTable","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdhitsolutions%2FPSPivotTable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdhitsolutions%2FPSPivotTable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdhitsolutions%2FPSPivotTable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdhitsolutions%2FPSPivotTable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdhitsolutions","download_url":"https://codeload.github.com/jdhitsolutions/PSPivotTable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228032926,"owners_count":17858918,"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":["powershell","powershell-module"],"created_at":"2024-08-13T07:03:47.399Z","updated_at":"2024-12-04T02:31:32.830Z","avatar_url":"https://github.com/jdhitsolutions.png","language":"PowerShell","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"readme":"# PSPivotTable\nA PowerShell function to create an Excel-like Pivot table in the PowerShell console. This command takes the result of a PowerShell expression and creates a pivot table object. You can use this object to analyze data patterns. For example, you could get a directory listing and then prepare a table showing the size of different file extensions for each folder.\n\n## SYNTAX\n\n    New-PSPivotTable [-Data] \u003cObject\u003e [-yLabel \u003cString\u003e] -yProperty \u003cString\u003e -xLabel \u003cString\u003e [-xProperty \u003cString\u003e] [\u003cCommonParameters\u003e]\n    New-PSPivotTable [-Data] \u003cObject\u003e [-yLabel \u003cString\u003e] -yProperty \u003cString\u003e -xLabel \u003cString\u003e [-Count] [-Sort \u003cString\u003e] [-SortKey \u003cString\u003e] [\u003cCommonParameters\u003e]\n    New-PSPivotTable [-Data] \u003cObject\u003e [-yLabel \u003cString\u003e] -yProperty \u003cString\u003e -xLabel \u003cString\u003e [-Sum \u003cString\u003e] [-Format \u003cString\u003e] [-Round \u003cInt32\u003e] [-Sort \u003cString\u003e] [-SortKey \u003cString\u003e] [\u003cCommonParameters\u003e]\n\n## EXAMPLE\n\n    PS C:\\\u003e $svc=\"Lanmanserver\",\"Wuauserv\",\"DNS\",\"ADWS\"\n    PS C:\\\u003e $computers=\"chi-dc01\",\"chi-dc02\",\"chi-dc04\"\n    PS C:\\\u003e $data = Get-Service -name $svc -ComputerName $computers\n    PS C:\\\u003e new-pspivottable $data -ylabel Computername -yProperty Machinename -xlabel Name -xproperty Status -verbose | format-table -autosize\n    \n    Computername    ADWS     DNS Lanmanserver Wuauserv\n    ------------    ----     --- ------------ --------\n    chi-dc01     Running Running      Running  Running\n    chi-dc02     Running Stopped      Running  Running\n    chi-dc04     Running Running      Running  Stopped\n    \nCreate a table that shows the status of each service on each computer. The yLabel parameter renames the property so that instead of Machinename it shows Computername. The xLabel is the property name to analyze, in this case the service name. The xProperty value of each service becomes the table value.\n\n_Last updated: September 8, 2016_","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdhitsolutions%2FPSPivotTable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdhitsolutions%2FPSPivotTable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdhitsolutions%2FPSPivotTable/lists"}