{"id":14064494,"url":"https://github.com/JeffBrownTech/powershell-prompts","last_synced_at":"2025-07-29T18:32:47.535Z","repository":{"id":44359959,"uuid":"249977049","full_name":"JeffBrownTech/powershell-prompts","owner":"JeffBrownTech","description":"Examples of how to create user prompts in PowerShell","archived":false,"fork":false,"pushed_at":"2020-04-07T14:44:58.000Z","size":5,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-14T07:07:14.568Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/JeffBrownTech.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}},"created_at":"2020-03-25T12:49:08.000Z","updated_at":"2022-07-09T16:49:10.000Z","dependencies_parsed_at":"2022-09-01T18:30:14.781Z","dependency_job_id":null,"html_url":"https://github.com/JeffBrownTech/powershell-prompts","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/JeffBrownTech%2Fpowershell-prompts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffBrownTech%2Fpowershell-prompts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffBrownTech%2Fpowershell-prompts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffBrownTech%2Fpowershell-prompts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JeffBrownTech","download_url":"https://codeload.github.com/JeffBrownTech/powershell-prompts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228040683,"owners_count":17860211,"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":[],"created_at":"2024-08-13T07:03:53.685Z","updated_at":"2024-12-04T03:30:57.579Z","avatar_url":"https://github.com/JeffBrownTech.png","language":"PowerShell","readme":"# powershell-prompts\n\nThis repository holds examples of how to create prompts inside the PowerShell console window.\n\nTo learn more about creating PowerShell prompts, check out my blog posts on the subject:\n\n[How to Create Prompts in PowerShell](https://www.jeffbrown.tech/post/how-to-create-prompts-in-powershell)\n\n[Creating Graphical Prompts Inside PowerShell](https://www.jeffbrown.tech/post/creating-graphical-prompts-inside-powershell)\n\n## PromptMethod-Manual.ps1\nThis script holds an example function using what I call a \"manual\" method of creating a prompt, meaning more effort is put into creating help text and matching the color scheme of a regular PowerShell prompt.\n\n## PromptMethod-dotNET.ps1\nThis script holds an example function using .NET Framework classes in order to create a prompt. The code is much cleaner and automatically includes logic for displaying help text and matching color schemes.\n\n## PromptMethod-Graphical.ps1\nThis scripts holds an example function using .NET Framework classes to create a graphical prompt. The logic to create the prompt is located in the New-YesNoPrompt function, which is called by the Remove-MyItem function to prompt the user to remove the file or not.","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJeffBrownTech%2Fpowershell-prompts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJeffBrownTech%2Fpowershell-prompts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJeffBrownTech%2Fpowershell-prompts/lists"}