{"id":13599492,"url":"https://github.com/RamblingCookieMonster/PSStackExchange","last_synced_at":"2025-04-10T12:33:02.279Z","repository":{"id":35813478,"uuid":"40095955","full_name":"RamblingCookieMonster/PSStackExchange","owner":"RamblingCookieMonster","description":"PowerShell module to query Stack Exchange API","archived":false,"fork":false,"pushed_at":"2016-07-26T22:42:18.000Z","size":52,"stargazers_count":80,"open_issues_count":0,"forks_count":21,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-28T10:02:14.915Z","etag":null,"topics":["powershell","powershell-modules","stackoverflow"],"latest_commit_sha":null,"homepage":"http://ramblingcookiemonster.github.io/Building-A-PowerShell-Module","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/RamblingCookieMonster.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}},"created_at":"2015-08-02T23:19:25.000Z","updated_at":"2024-10-23T18:24:43.000Z","dependencies_parsed_at":"2022-09-08T18:30:28.390Z","dependency_job_id":null,"html_url":"https://github.com/RamblingCookieMonster/PSStackExchange","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamblingCookieMonster%2FPSStackExchange","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamblingCookieMonster%2FPSStackExchange/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamblingCookieMonster%2FPSStackExchange/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamblingCookieMonster%2FPSStackExchange/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamblingCookieMonster","download_url":"https://codeload.github.com/RamblingCookieMonster/PSStackExchange/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223437703,"owners_count":17144972,"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-modules","stackoverflow"],"created_at":"2024-08-01T17:01:05.144Z","updated_at":"2024-11-07T00:32:08.885Z","avatar_url":"https://github.com/RamblingCookieMonster.png","language":"PowerShell","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"readme":"[![Build status](https://ci.appveyor.com/api/projects/status/xyl9iyopvbucvpbi/branch/master?svg=true)](https://ci.appveyor.com/project/RamblingCookieMonster/psstackexchange/branch/master)\n\nPSStackExchange\n=============\n\nThis is a rudimentary PowerShell module for querying the [Stack Exchange API](https://api.stackexchange.com/docs), written to illustrate [a basic PowerShell module organization and workflow](http://ramblingcookiemonster.github.io/Building-A-PowerShell-Module).\n\nThis is not fully featured or tested, but pull requests would be welcome!\n\n#Instructions\n\n```powershell\n# One time setup\n    # Download the repository\n    # Unblock the zip\n    # Extract the PSStackExchange folder to a module path (e.g. $env:USERPROFILE\\Documents\\WindowsPowerShell\\Modules\\)\n\n    #Simple alternative, if you have PowerShell 5, or the PowerShellGet module:\n        Install-Module PSStackExchange\n\n# Import the module.\n    Import-Module PSStackExchange    #Alternatively, Import-Module \\\\Path\\To\\PSStackExchange\n\n# Get commands in the module\n    Get-Command -Module PSStackExchange\n\n# Get help\n    Get-Help Get-SEObject -Full\n    Get-Help about_PSStackExchange\n```\n\n#Examples\n\n### Find Stack Exchange Sites and Urls\n\n```PowerShell\n# Find Stack Exchange sites and urls\n    Get-SEObject -Object Sites |\n        Sort -Property api_site_parameter |\n        Select -Property api_site_parameter, site_url\n```\n\n![Get Sites](/Media/Get-SEObject.png)\n\n### Search Stack Exchange Questions\n\n```PowerShell\n# Search questions on stack overflow, tagged PowerShell, with System.DBNull in the title\n    Search-SEQuestion -Title System.DBNull -Tag PowerShell -Site StackOverflow\n\n# Search questions on ServerFault\n#     Posted by User with ID 105072\n#     With PowerShell in the Title\n#     Without the tag windows-server-2008-r2\n    Search-SEQuestion -User 105072 `\n                      -Site ServerFault `\n                      -ExcludeTag 'windows-server-2008-r2' `\n                      -Title PowerShell\n```\n\n![Search Questions](/Media/Search-SEQuestion.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRamblingCookieMonster%2FPSStackExchange","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRamblingCookieMonster%2FPSStackExchange","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRamblingCookieMonster%2FPSStackExchange/lists"}