Created
February 15, 2018 15:29
-
-
Save rsenk/ffc83914aa1c45a965b882a1e3517011 to your computer and use it in GitHub Desktop.
Bulk update Sitecore licenses
This file contains 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
#requires -RunAsAdministrator | |
# Update all licenses | |
# You can find more about automation with Powershell on http://lets-share.senktas.net | |
$iisRoot = "C:\inetpub\wwwroot" | |
$licenseFile = "C:\license.xml" | |
(Get-ChildItem -Path $iisRoot -Filter 'license.xml' -Recurse).DirectoryName | % { Copy-Item -Path $licenseFile -Destination $_ -Verbose} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment