{"id":14063432,"url":"https://github.com/brsh/brshPSFiles","last_synced_at":"2025-07-29T15:33:09.366Z","repository":{"id":81834127,"uuid":"177628227","full_name":"brsh/brshPSFiles","owner":"brsh","description":"Create PowerShell files (currently, Modules and Scripts) from templates","archived":false,"fork":false,"pushed_at":"2020-06-22T21:47:51.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-04T01:33:57.565Z","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/brsh.png","metadata":{"files":{"readme":"readme.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-25T16:54:24.000Z","updated_at":"2024-05-30T16:13:24.000Z","dependencies_parsed_at":"2023-03-04T23:30:33.675Z","dependency_job_id":null,"html_url":"https://github.com/brsh/brshPSFiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brsh/brshPSFiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brsh%2FbrshPSFiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brsh%2FbrshPSFiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brsh%2FbrshPSFiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brsh%2FbrshPSFiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brsh","download_url":"https://codeload.github.com/brsh/brshPSFiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brsh%2FbrshPSFiles/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267709614,"owners_count":24131922,"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-07-29T02:00:12.549Z","response_time":2574,"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":[],"created_at":"2024-08-13T07:03:20.333Z","updated_at":"2025-07-29T15:33:08.579Z","avatar_url":"https://github.com/brsh.png","language":"PowerShell","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"readme":"﻿# brshPSFiles - Create the base folder/files for PSCode Work\n\nEverybody needs a handy template/skeleton for coding... it's a fact (I looked it up).\nThis module consolidates older scripts I used to create new PowerShell modules and\nscript files (granted, the script files weren't as complex but a keystroke saved is\num... a keystroked ... earned).\n\n## New-psfScript\n.SYNOPSIS\u003cbr/\u003e\nCreates PowerShell script skeleton file (ps1)\n\n.DESCRIPTION\u003cbr/\u003e\nCreates a PowerShell script skeleton, complete with initial Comment Help section and basic param options.\n\n.PARAMETER Name\u003cbr/\u003e\nName of the script\n\n.PARAMETER Path\u003cbr/\u003e\nParent folder where it will create the script; it must already exist.\n\n.PARAMETER Author\u003cbr/\u003e\nSpecifies the author\n\n.PARAMETER Synopsis\u003cbr/\u003e\nDescription of the module\n\n.PARAMETER NewFolder\u003cbr/\u003e\nCreates a separate folder for the script (this is the only way for this functon to initialize a git repo)\n\n.PARAMETER License\u003cbr/\u003e\nSets a license for the project (defaults to MIT, but Apachev2, GNUv3, and Public Domain are supported)\n\n.PARAMETER GitInit\u003cbr/\u003e\nInitialize the project as a git repo - adding all \"base\" files\n\n.PARAMETER MinimumVersion\u003cbr/\u003e\nSets the minimum supported version of Powershell for the Module. Default is 5.1, cuz it's 2019!\n\n.EXAMPLE\u003cbr/\u003e\nNew-psfScript -Name \"Brontosaurus\" -Path \"C:\\Scripts\" -Synopsis 'A script about brontosauruses'\n\n.EXAMPLE\u003cbr/\u003e\nNew-psfScript -Name \"Brontosaurus.ps1\" -Path \"C:\\Scripts\" -Synopsis 'A script about brontosauruses'\n\n.EXAMPLE\u003cbr/\u003e\nNew-psfScript -Name \"Brontosaurus.ps1\" -Path \"C:\\Scripts\" -Synopsis 'A script about brontosauruses' -NewFolder -GitInit\n\n## New-psfModule\n.SYNOPSIS\u003cbr/\u003e\nCreates PowerShell module skeleton files (psm and psd)\n\n.DESCRIPTION\u003cbr/\u003e\nCreates a PowerShell module skeleton, complete with manifest and requisite folders. In general,\nthat equates to the following:\n\n\t* Root - based on the module name\n\t* Root/Private - Private Code\n\t* Root/Public - Public functions\n\t* Root/Config - Any data/storage files\n\t* Root/Format - ps1xml format files\n\t* Root/*.psm1 - the main module file\n\t* Root/*.psd1 - the Module Definition file\n\t* Root/readme.md - the base readme markdown file\n\t* Root/licenst.txt - the license file (if any; default is MIT)\n\t* Root/.gitignore - win/mac/msoffice/etc files/folders for git to ignore by default\n\t* Root/Public/Information.ps1 - the Get-Help function\n\t* Root/Private/Write-Status.ps1 - a Write-Host wrapper\n\nThis is based on how I code modules at the moment (early 2019), and is subject to change.\n\n.PARAMETER Name\u003cbr/\u003e\nName of the module\n\n.PARAMETER Path\u003cbr/\u003e\nParent folder where it will create the script module; it must already exist.\n\n.PARAMETER Author\u003cbr/\u003e\nSpecifies the author (defaults to AD Full Name)\n\n.PARAMETER Description\u003cbr/\u003e\nDescription of the module\n\n.PARAMETER Abbreviate\u003cbr/\u003e\nTells the function to abbreviate the Capital Letters into Function names (so in MyBronto module, will create Get-mbHelp vs Get-MybrontoHelp)\n\n.PARAMETER License\u003cbr/\u003e\nSets a license for the project (defaults to MIT, but Apachev2, GNUv3, and Public Domain are supported)\n\n.PARAMETER GitInit\u003cbr/\u003e\nInitialize the project as a git repo - adding all \"base\" files\n\n.PARAMETER MinimumVersion\u003cbr/\u003e\nSets the minimum supported version of Powershell for the Module. Default is 5.1, cuz it's 2019!\n\n.EXAMPLE\u003cbr/\u003e\nNew-psfModule -Name Brontosaurus -Path \"$env:ProgramFiles\\WindowsPowerShell\\Modules\" -Author 'Anne Elk' -Description 'This is my module of brontosauruses'\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrsh%2FbrshPSFiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrsh%2FbrshPSFiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrsh%2FbrshPSFiles/lists"}