Powershell functions to ease the creation of C# files
Powershell commands to manipulate .cs files
New-PSharp -Path <path> -FileName <filename>
New-PSharp -Path <path> -FileName <filename> -Overwrite
New-PSharp -Path <path> -FileName <filename> -Using System.Windows.Forms
Update-PSharp -Path <path> -FileName <filename> -UpdateString <NewClassName> -UpdateSection 'Class'
I love PowerShell and wanted a way to manipulate my .cs files.
- Import the module into PowerShell
Import-Module <PathTo.psm1>