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
# Make sure to import `Sitecore.Cloud.Cmdlets.dll` and not `Sitecore.Cloud.Cmdlets.psm1` | |
Import-Module C:\Sitecore\sat\tools\Sitecore.Cloud.Cmdlets.dll | |
$packagePath = "C:\Sitecore\Packages" | |
Remove-SCDatabaseOperations ` | |
-Path "$packagePath\Sitecore JavaScript Services Tech Preview Server 9.0.1 rev. 180724.scwdp.zip" ` | |
-Destination $packagePath ` | |
-Verbose ` | |
-Force |
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
Param( | |
[Parameter(Mandatory=$true)] | |
[string[]]$DnsName, | |
[DateTime]$CertExpirationDate = (Get-Date).AddYears(5), | |
[string]$PersonalCertStoreLocation = "Cert:\LocalMachine\My", | |
[string]$HashAlgorithm = "SHA512", | |
[string]$RootCertSubject = "CN=DevRoot", | |
[string]$RootCertStoreLocation = "Cert:\LocalMachine\Root", | |
[DateTime]$RootCertExpirationDate = (Get-Date).AddYears(20) | |
) |
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
param | |
( | |
[Parameter(Mandatory=$true, HelpMessage="Enter Azure Tenant Domain")] | |
[string] $tenant, | |
[Parameter(Mandatory=$true, HelpMessage="Enter Azure Subscription ID")] | |
[string] $subscriptionId, | |
[Parameter(Mandatory=$true, HelpMessage="Provide a unique display name for SPN application")] | |
[string] $appDisplayName, |