%PDF- %PDF-
Direktori : /mnt/tieto-nb/Documents/WindowsPowerShell/ |
Current File : //mnt/tieto-nb/Documents/WindowsPowerShell/NuGet_profile.ps1 |
function qmsmigration ([string]$Name = "???"){ ## ??? is only temporary text, because parameter name canot be empty ## Run quality migrations ## ## Instalation: ## 1. In the file NuGet_profile.ps1 change dbmigration.ps1 path to your local git repository (default is set to C:\work\tips-tix\TIPSWEB) ## 2. If a path to the variable $profile does not exist then create one (run "New-Item –Path $Profile –Type File" from Package Manager Console) ## 3. Add the edited content of NuGet_profile.ps1 to newly created NuGet_profile.ps1 (default location C:\Users\XXX5+3\Documents\WindowsPowerShell or use command "notepad $profile") ## 4. Initialize $profile by restart Visual studio or via command ".$profile" ## 5. The function qmsmigration is now available in the Package Manager Console Invoke-Expression "C:\work\tips\quality\Common\08-Tools\dbmigration.ps1 -Name $Name" }