Created
May 30, 2018 12:10
-
-
Save aburok/0050f7f93a3710fde42d95b167578fc2 to your computer and use it in GitHub Desktop.
Umbraco Powershell copy license files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $configPrefixes = @( "web", "connectionStrings", "ExamineSettings" ) | |
$licenses = @( "umbracoCourierExpress.lic", "umbracoForms.lic") | |
$licenses | ForEach-Object { | |
Write-Output "Copying license files configuration transform file: $($_.FullName)" | |
Copy-Item ".\Licenses\$_" -Destination ".\bin" -Verbose | |
} | |
$licenses | ForEach-Object { | |
if(Test-Path ".\bin\$_" -PathType Leaf){ | |
Write-Output "File $_ exsists in bin." | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment