{"id":21479051,"url":"https://github.com/thecodermehedi/mkfile-powershell","last_synced_at":"2025-03-17T08:28:07.133Z","repository":{"id":244933038,"uuid":"816556783","full_name":"thecodermehedi/mkfile-powershell","owner":"thecodermehedi","description":"mkfile (MakeFile) is a powershell function that creates one or more files in the specified paths. @thecodermehedi","archived":false,"fork":false,"pushed_at":"2024-06-19T06:37:38.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T18:11:56.216Z","etag":null,"topics":["create-file","custom-scripts","powershell","powershell-script","powershell-utils","ps1","thecodermehedi","windows"],"latest_commit_sha":null,"homepage":"","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/thecodermehedi.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-18T01:42:20.000Z","updated_at":"2024-12-30T22:29:52.000Z","dependencies_parsed_at":"2024-06-18T12:14:21.285Z","dependency_job_id":"fedce848-60a5-4950-bdba-2b4ad00220c6","html_url":"https://github.com/thecodermehedi/mkfile-powershell","commit_stats":null,"previous_names":["thecodermehedi/mkfile-powershell"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodermehedi%2Fmkfile-powershell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodermehedi%2Fmkfile-powershell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodermehedi%2Fmkfile-powershell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodermehedi%2Fmkfile-powershell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodermehedi","download_url":"https://codeload.github.com/thecodermehedi/mkfile-powershell/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243998930,"owners_count":20381256,"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":["create-file","custom-scripts","powershell","powershell-script","powershell-utils","ps1","thecodermehedi","windows"],"created_at":"2024-11-23T11:20:58.226Z","updated_at":"2025-03-17T08:28:07.102Z","avatar_url":"https://github.com/thecodermehedi.png","language":"PowerShell","readme":"# mkfile PowerShell Function\n\n`mkfile` is a PowerShell function that allows you to create one or more files in the specified paths. If a directory does not exist, it will be created automatically. The function also supports options for displaying version information and additional details about the function itself.\n\n## Installation\n\nTo install the `mkfile` function on your Windows operating system, you can use  the following scripts:\n\n### For PowerShell\n\n```powershell\nStart-Process powershell -Verb RunAs -Args '-nop -ep Bypass -c iex(New-Object Net.WebClient).DownloadString(\"https://raw.githubusercontent.com/thecodermehedi/mkfile-powershell/main/mkfile.ps1\");ac$p\"`n.$PSScriptRoot\\mkfile.ps1\"'\n```\n\n#### After executing the command refresh your powershell profile\n\n```powershell\n. $profile\n```\n\n### For Command Prompt (CMD)\n\n```cmd\n@\"%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoProfile -ExecutionPolicy Bypass -Command \"[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; Start-Process PowerShell -Verb RunAs -ArgumentList '-NoProfile -ExecutionPolicy Bypass -Command \"\"iex ((New-Object System.Net.WebClient).DownloadString(''https://raw.githubusercontent.com/thecodermehedi/mkfile-powershell/main/mkfile.ps1'')); Add-Content -Path $PROFILE -Value \"`n. $env:USERPROFILE\\Documents\\WindowsPowerShell\\mkfile.ps1\"\"'\"\n```\n\n## Usage\n\nTo use the `mkfile` function, follow these steps:\n\n1. Open PowerShell.\n2. Now you can use the `mkfile` function with various parameters:\n\n```powershell\n# Create a file in the current directory\nmkfile index.html\n\n# Create a file in a specific directory\nmkfile src/main.ts\n\n# Display version information\nmkfile -v\n\n# Display help\nmkfile -?\n\n# Display additional information about the function\nmkfile -i\n```\n\n## Contributing\n\nIf you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request in the GitHub repository.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodermehedi%2Fmkfile-powershell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodermehedi%2Fmkfile-powershell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodermehedi%2Fmkfile-powershell/lists"}