{"id":22951540,"url":"https://github.com/lifailon/get-query","last_synced_at":"2025-09-02T10:33:37.093Z","repository":{"id":140732690,"uuid":"605044334","full_name":"Lifailon/Get-Query","owner":"Lifailon","description":"Module using query.exe for created object powershell (user and process list)","archived":false,"fork":false,"pushed_at":"2023-03-24T15:02:28.000Z","size":2411,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"rsa","last_synced_at":"2025-08-28T16:59:33.218Z","etag":null,"topics":["logon","powershell-module","powershell-object","process-list","psterminalservices","query","terminal-session","tssession","user-processes","windows-users"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/Get-Query","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lifailon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-22T10:22:45.000Z","updated_at":"2025-03-06T08:19:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"d102d67f-209a-41a7-945c-b63ff377f362","html_url":"https://github.com/Lifailon/Get-Query","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Lifailon/Get-Query","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lifailon%2FGet-Query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lifailon%2FGet-Query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lifailon%2FGet-Query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lifailon%2FGet-Query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lifailon","download_url":"https://codeload.github.com/Lifailon/Get-Query/tar.gz/refs/heads/rsa","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lifailon%2FGet-Query/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273271495,"owners_count":25075966,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["logon","powershell-module","powershell-object","process-list","psterminalservices","query","terminal-session","tssession","user-processes","windows-users"],"created_at":"2024-12-14T15:16:35.821Z","updated_at":"2025-09-02T10:33:37.079Z","avatar_url":"https://github.com/Lifailon.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Get-Query\n### Модуль использующий query.exe для создания вывода Object PowerShell.\nНа замену устаревшего модуля **PSTerminalServices**, который более не поддерживается, его вывод мог быть неполным, работает медленне, чем query и если при обработке в цикле происходит ошибка (например, RPC недоступен), модуль завершает работу скрипта даже при использовании Jobs.\n\n\u003e Вывод не зависит от локализации операционной системы.\n\n`Get-Help Get-Query` \\\n`Get-Query localhost` по умолчанию \\\n`Get-Query 192.168.1.1 | ft` \\\n`Get-Query 192.168.1.1 -proc` список всех пользовательских процессов (по умолчанию -user *) \\\n`Get-Query 192.168.1.1 -proc -user username` список процессов выбранного пользователя\n\n### Для теневого подключения к выбранному сеансу воспользуйтесь данной конструкцией:\n```PowerShell\n$srv = \"192.168.1.1\"\n$id = Get-Query $srv | ogv -PassThru | select -ExpandProperty id # Out-GridView or Out-ConsoleGridView\nmstsc /v:$srv /shadow:$id /control /noconsentprompt\n```\n\n![Image alt](https://github.com/Lifailon/Get-Query/blob/rsa/Screen/Get-Query-OCGV.jpg)\n\n### Примеры:\n\n![Image alt](https://github.com/Lifailon/Get-Query/blob/rsa/Screen/Get-Query-RU.jpg)\n\n![Image alt](https://github.com/Lifailon/Get-Query/blob/rsa/Screen/Get-Query-EN.jpg)\n\n![Image alt](https://github.com/Lifailon/Get-Query/blob/rsa/Screen/Get-Query-User-Process.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifailon%2Fget-query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flifailon%2Fget-query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifailon%2Fget-query/lists"}