Configurations-Azure/DataStoreUpgradeConfigure.ps1
Configuration DataStoreUpgradeConfigure{ param( [System.Management.Automation.PSCredential] $SiteAdministratorCredential, [System.String] $ServerMachineName, [Parameter(Mandatory=$false)] [System.String] $DebugMode ) Import-DscResource -Name ArcGIS_DataStoreUpgrade Node localhost { $ServerHostName = Get-FQDN $ServerMachineName $InstallDir = "$($env:SystemDrive)\\arcgis\\datastore" $DataStoreContentDirectory = "$($env:SystemDrive)\\arcgis\\datastore\\content" ArcGIS_DataStoreUpgrade DataStoreConfigUpgrade { ServerHostName = $ServerHostName Ensure = 'Present' SiteAdministrator = $SiteAdministratorCredential ContentDirectory = $DataStoreContentDirectory InstallDir = $InstallDir } } } |