Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 347 Bytes
param (
[string]$serverFarmName = $(throw '-serverFarmName is required'),
[string]$stagingInstance = $(throw '-stagingInstance is required')
)
# Make sure it is set to state=Available
Set-InstanceState $serverFarmName $stagingInstance 0
# Bring it online
Set-ServerOnline $serverFarmName $stagingInstance
Write-Host "Staging brought up"
You can’t perform that action at this time.