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
// Borrowed from Microsoft's download page | |
function DownloadURL(n, t) { | |
if ((jQuery.browser || navigator.userAgent.toLowerCase().indexOf("trident") > 0) && t != "mainDownloadNonBundle") | |
window.open(n, "_blank", "toolbar=0,location=no,directories=0,status=0,scrollbars=no,resizable=0,width=0,height=1,top=0,left=0"); | |
else { | |
var i; | |
i = document.getElementById(t); | |
i === null && (i = document.createElement("iframe"), | |
i.id = t, | |
i.style.visibility = "hidden", |
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
SET NOCOUNT ON | |
USE [database_name] | |
GO | |
DECLARE @loop INT | |
DECLARE @USER sysname | |
DECLARE @sqlcmd NVARCHAR(500) = '' | |
IF OBJECT_ID('tempdb..#Orphaned') IS NOT NULL | |
BEGIN |
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
[CmdletBinding()] | |
Param( | |
[Parameter()] | |
[switch]$JKS | |
) | |
$keytool = Get-Command "keytool" -ErrorAction "SilentlyContinue" | |
If ($null -eq $keytool) { | |
Write-Output "Doesn't look like you have access to keytool. Please download and install OpenJDK from https://adoptopenjdk.net/releases.html?variant=openjdk11&jvmVariant=hotspot (ensuring to add the JAVA_HOME feature) and try again." | |
Exit 1 |
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
[CmdletBinding(SupportsShouldProcess)] | |
Param( | |
[Parameter()] | |
[ValidateScript({ Test-Path $_ -PathType "Container" })] | |
[string]$SolrInstallDir = "C:\solr-7.5.0" | |
, | |
[Parameter()] | |
[ValidateNotNull()] | |
[string]$SolrServiceName = "*solr*" | |
, |