{"id":21347592,"url":"https://github.com/turbobasic/powershell-mvc-pipeline-cmdlet","last_synced_at":"2025-03-16T04:17:19.331Z","repository":{"id":187426964,"uuid":"94589329","full_name":"turboBasic/Powershell-MVC-Pipeline-Cmdlet","owner":"turboBasic","description":"Template of Windows Powershell Cmdlet based on MVC pattern. Allow to look into the details of what's going on inside Powershell command pipeline","archived":false,"fork":false,"pushed_at":"2017-06-17T00:36:01.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T16:45:49.338Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/turboBasic.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}},"created_at":"2017-06-16T23:56:40.000Z","updated_at":"2017-06-17T00:04:01.000Z","dependencies_parsed_at":"2023-08-10T11:31:13.860Z","dependency_job_id":null,"html_url":"https://github.com/turboBasic/Powershell-MVC-Pipeline-Cmdlet","commit_stats":null,"previous_names":["turbobasic/powershell-mvc-pipeline-cmdlet"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turboBasic%2FPowershell-MVC-Pipeline-Cmdlet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turboBasic%2FPowershell-MVC-Pipeline-Cmdlet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turboBasic%2FPowershell-MVC-Pipeline-Cmdlet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turboBasic%2FPowershell-MVC-Pipeline-Cmdlet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/turboBasic","download_url":"https://codeload.github.com/turboBasic/Powershell-MVC-Pipeline-Cmdlet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822294,"owners_count":20353500,"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-11-22T02:15:01.654Z","updated_at":"2025-03-16T04:17:19.307Z","avatar_url":"https://github.com/turboBasic.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Powershell-MVC-Pipeline-Cmdlet\nTemplate of Windows Powershell Cmdlet based on MVC pattern. Allow to look into the details of what's going on inside Powershell command pipeline\n\n\u003cimg src=\"https://raw.githubusercontent.com/TurboBasic/dotfiles.windows/master/hexagram.png\" alt=\"Windows Dotfiles\" style=\"width: 100px; height: auto;\" /\u003e\n\n````\n    .SYNOPSIS\n        Processes pipeline or direct input and prints objects inside the Pipeline\n\n    .DESCRIPTION\n        Processes pipeline or direct input and provide detailed messages about internal state of Powershell command pipeline\n\n    .PARAMETER ComputerName\n        Demo parameter. Accepts both multiple items both directly and from pipeline\n\n    .NOTES\n        Name:    Test-Pipeline\n        Author:  Andriy Melnyk\n        Created: 16 Jun 2017\n\n        Based on excellent code of @RamblingCookieMonster from https://ramblingcookiemonster.wordpress.com/2014/12/29/powershell-pipeline-demo/\n\n    .EXAMPLE\n        PS\u003e Test-Pipeline \"Item1\" PC2 Server3\n\nBEGIN Block -\n   $ComputerName is a System.String[] with value Item1,PC2,Server3   \n   $PSBoundParameters is       \n      Key          Value                \n      ---          -----                \n      ComputerName {Item1, PC2, Server3}\n      \n    PROCESS Block -\n       $ComputerName is a System.String[] with value Item1,PC2,Server3   \n       $PSBoundParameters is           \n          Key          Value                \n          ---          -----                \n          ComputerName {Item1, PC2, Server3}\n\n            PROCESS Block, FOREACH LOOP -\n               processed item is a System.String with value Item1   \n               $PSBoundParameters is                   \n                  Key          Value                \n                  ---          -----                \n                  ComputerName {Item1, PC2, Server3}\n\n            PROCESS Block, FOREACH LOOP -\n               processed item is a System.String with value PC2   \n               $PSBoundParameters is                   \n                  Key          Value                \n                  ---          -----                \n                  ComputerName {Item1, PC2, Server3}\n\n            PROCESS Block, FOREACH LOOP -\n               processed item is a System.String with value Server3   \n               $PSBoundParameters is                   \n                  Key          Value                \n                  ---          -----                \n                  ComputerName {Item1, PC2, Server3}\n\nEND Block - \n   $ComputerName is a System.String[] with value Item1,PC2,Server3   \n   $PSBoundParameters is       \n      Key          Value                \n      ---          -----                \n      ComputerName {Item1, PC2, Server3}\n\n        Description\n        -----------\n        Iterates through directly entered items and prints internal state of pipeline at various stages of lifecycle\n\n\n    .EXAMPLE\n        PS\u003e \"Item1\", \"PC2\", \"Server3\" | p\nBEGIN Block -\n   $ComputerName is a System.String[] with value BBRO   \n   $PSBoundParameters is       \n\n    PROCESS Block -\n       $ComputerName is a System.String[] with value Item1   \n       $PSBoundParameters is           \n          Key          Value  \n          ---          -----  \n          ComputerName {Item1}\n\n            PROCESS Block, FOREACH LOOP -\n               processed item is a System.String with value Item1   \n               $PSBoundParameters is                   \n                  Key          Value  \n                  ---          -----  \n                  ComputerName {Item1}\n\n    PROCESS Block -\n       $ComputerName is a System.String[] with value PC2   \n       $PSBoundParameters is           \n          Key          Value\n          ---          -----\n          ComputerName {PC2}\n\n            PROCESS Block, FOREACH LOOP -\n               processed item is a System.String with value PC2   \n               $PSBoundParameters is                   \n                  Key          Value\n                  ---          -----\n                  ComputerName {PC2}\n\n    PROCESS Block -\n       $ComputerName is a System.String[] with value Server3   \n       $PSBoundParameters is           \n          Key          Value    \n          ---          -----    \n          ComputerName {Server3}\n\n            PROCESS Block, FOREACH LOOP -\n               processed item is a System.String with value Server3   \n               $PSBoundParameters is                   \n                  Key          Value    \n                  ---          -----    \n                  ComputerName {Server3}\n\nEND Block - \n   $ComputerName is a System.String[] with value Server3   \n   $PSBoundParameters is       \n      Key          Value    \n      ---          -----    \n      ComputerName {Server3}\n\n\n        Description\n        -----------\n        Iterates through arguments supplied from pipeline and prints internal state of pipeline at various stages of lifecycle\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbobasic%2Fpowershell-mvc-pipeline-cmdlet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturbobasic%2Fpowershell-mvc-pipeline-cmdlet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbobasic%2Fpowershell-mvc-pipeline-cmdlet/lists"}