Hi Using server2012R2 and PS 5.
I have a $ConfigData table for my Configuration.
In my NoNodeData section is it possible to set array values?
like so:
SharePoint = @( FrontEndServers = @(vm01,vm02) )
So that when i point to this table in my resourceblock, it will capture both vm01 and vm02?
The resourceblock looks like this:
SPDistributedCacheService EnableDistributedCache { Name = "AppFabricCachingService" Ensure = "Present" CacheSizeInMB = 1024 ServiceAccount = $ServicePoolManagedCred.UserName PsDscRunAsCredential = $SPSetupCred CreateFirewallRules = $true DependsOn = "[AddUrlToLocalIntranet]CAURL" ServerProvisionOrder = $ConfigurationData.NonNodeData.SharePoint.FrontEndServers }
The resource ServerProvisionOrder checks the list from nonodedata to see if Distributed cache has been set up, if not then runs this on the local server. So I was just wondering if my
SharePoint = @( FrontEndServers = @(vm01,vm02) )
would work.
brgs
Bjørn