{"id":51301024,"url":"https://github.com/mehedi-codes/mkfile-powershell","last_synced_at":"2026-06-30T19:41:43.332Z","repository":{"id":244933038,"uuid":"816556783","full_name":"mehedi-codes/mkfile-powershell","owner":"mehedi-codes","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":"2026-06-27T06:23:26.012Z","etag":null,"topics":["create-file","custom-scripts","powershell","powershell-script","powershell-utils","ps1","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/mehedi-codes.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,"zenodo":null}},"created_at":"2024-06-18T01:42:20.000Z","updated_at":"2025-10-13T06:42:15.000Z","dependencies_parsed_at":"2024-06-18T12:14:21.285Z","dependency_job_id":"fedce848-60a5-4950-bdba-2b4ad00220c6","html_url":"https://github.com/mehedi-codes/mkfile-powershell","commit_stats":null,"previous_names":["thecodermehedi/mkfile-powershell","mahdi-al-mutaallim/mkfile-powershell","mahdialmutaallim/mkfile-powershell","madebymehedi/mkfile-powershell","m3h3d1ha2an/mkfile-powershell","mehedi-codes/mkfile-powershell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mehedi-codes/mkfile-powershell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehedi-codes%2Fmkfile-powershell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehedi-codes%2Fmkfile-powershell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehedi-codes%2Fmkfile-powershell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehedi-codes%2Fmkfile-powershell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehedi-codes","download_url":"https://codeload.github.com/mehedi-codes/mkfile-powershell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehedi-codes%2Fmkfile-powershell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34981391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"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":["create-file","custom-scripts","powershell","powershell-script","powershell-utils","ps1","windows"],"created_at":"2026-06-30T19:41:41.753Z","updated_at":"2026-06-30T19:41:43.321Z","avatar_url":"https://github.com/mehedi-codes.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehedi-codes%2Fmkfile-powershell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehedi-codes%2Fmkfile-powershell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehedi-codes%2Fmkfile-powershell/lists"}