Getting started with Citrix Virtual Desktops (XenDesktop) Powershell DSC
If you have been reading my previous blog post(s) you probably noticed it’s about IT design (architecture) and development of (Citrix) infra components. Currently I’m working Microsoft System Center Service Management Automation (2019) runbooks (also called SMA runbooks) to integrate with the Citrix Web Portal. While SMA is a very interesting topic and infrastructure I will likely cover this in a later blog. If you’re curious what SMA can do (for you or organization) please check out the Youtube video for a quick overview.
If you’re reading this and I still didn’t lost your attention, here comes the part about Citrix and Desired State Configuration.
What is Desired State Configuration?
PowerShell Desired State Configuration is part of the configuration, management and maintenance of Windows-based servers. It makes use of PowerShell scripts in order to standardize and maintain servers in the way you specify them as “Desired”. This means if your configuration on the server breaks, you reapply the configuration and it will fix itself back to the desired state.
How to implement/Infra?
Yes, it’s possible to type this whole story myself, but since I’m an IT-Engineer I’m a little bit lazy as well. Besides, I think Nicolas Prigent has done a great job by describing the fundamentals of a basic setup in his blog at Red-Gate: https://www.red-gate.com/simple-talk/sysadmin/powershell/powershell-desired-state-configuration-the-basics/
Citrix Resources
Since Citrix isn’t a Microsoft product it won’t be a big surprise their Modules are not integrated in Windows Server or Client (like Windows 10 for example). However, it’s really easy to install the dependency’s on an internet facing machine:
Install-Module -Name XenDesktop7 -RequiredVersion 2.5.11 -Force -Confirm:$false
|
Deploying the easy way
Of course, you can also test your DSC skills in this stage. Just install PackageManagement which allows you to use PackageManagement in your DSC scripts on your push server.
Install-Module PackageManagement
|
Using the script below I Install XenDesktop7 module on all targeted servers:
Configuration InstallModules {
[CmdletBinding()]
param
(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[array]$Servername
)
Import-DscResource –ModuleName 'PSDesiredStateConfiguration'
Import-DscResource -ModuleName 'PackageManagement'
LocalConfigurationManager
{
ConfigurationMode = "ApplyAndAutoCorrect"
ConfigurationModeFrequencyMins = 15
RefreshMode = 'Push'
RebootNodeIfNeeded = $true
}
Node $Servername
{
PackageManagementSource PSGallery
{
Ensure = 'Present'
Name = 'psgallery'
ProviderName= 'PowerShellGet'
SourceUri = 'https://www.powershellgallery.com/api/v2'
InstallationPolicy ='Trusted'
}
PackageManagement PSModule
{
Name = 'XenDesktop7'
RequiredVersion = '2.5.11'
Ensure = 'Present'
Source = 'PSGallery'
DependsOn = '[PackageManagementSource]PSGallery'
}
}
}
|
Just run the script above will not do anything and also won’t display any output:
What it does is saving the configuration in memory so you can perform:
PS C:\windows\system32> InstallModules -Servername "CTX-DC01","CTX-DC02","CTX-SF01","CTX-SF02" -OutputPath \\MS-DSC01\DSCStore\DSCDatabase\Dependencies -Verbose
Directory: \\MS-DSC01\DSCStore\DSCDatabase\Dependencies
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 11/13/2019 3:34 PM 1196 localhost.meta.mof
-a---- 11/13/2019 3:34 PM 3150 CTX-DC01.mof
-a---- 11/13/2019 3:34 PM 3150 CTX-DC02.mof
-a---- 11/13/2019 3:34 PM 3150 CTX-SF01.mof
-a---- 11/13/2019 3:34 PM 3150 CTX-SF02.mof
|
As you can see this created the needed .mof files which are used to deploy the dependencies to our servers.
I will first remove the dependencies using:
Invoke-Command -ComputerName CTX-SF01,CTX-SF02,CTX-DC01,CTX-DC02 -ScriptBlock { Uninstall-Module -Name XenDesktop7 -Force -Confirm:$false }
|
Now I will start my deploy:
PS C:\windows\system32> Start-DscConfiguration -Wait -Force -verbose -Path \\MS-DSC01\DSCStore\DSCDatabase\Dependencies
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManage
r,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManage
r,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManage
r,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManage
r,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer MS-DSC01 with user sid ###FILTERED OUT###.
VERBOSE: [CTX-DC01]: LCM: [ Start Set ]
VERBOSE: An LCM method call arrived from computer MS-DSC01 with user sid ###FILTERED OUT###.
VERBOSE: [CTX-SF01]: LCM: [ Start Set ]
VERBOSE: An LCM method call arrived from computer MS-DSC01 with user sid ###FILTERED OUT###.
VERBOSE: An LCM method call arrived from computer MS-DSC01 with user sid ###FILTERED OUT###.
VERBOSE: [CTX-DC02]: LCM: [ Start Set ]
VERBOSE: [CTX-SF02]: LCM: [ Start Set ]
VERBOSE: [CTX-DC01]: LCM: [ Start Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-DC01]: LCM: [ Start Test ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Begin invoking Get-packageSource psgallery
VERBOSE: [CTX-SF01]: LCM: [ Start Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-SF01]: LCM: [ Start Test ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Begin invoking Get-packageSource psgallery
VERBOSE: [CTX-DC02]: LCM: [ Start Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-DC02]: LCM: [ Start Test ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-SF02]: LCM: [ Start Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-SF02]: LCM: [ Start Test ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Begin invoking Get-packageSource psgallery
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Begin invoking Get-packageSource psgallery
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Package source 'psgallery' found
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Resource psgallery is not in the desired state. Required installation pol
icy is Trusted and registered is Untrusted
VERBOSE: [CTX-DC01]: LCM: [ End Test ] [[PackageManagementSource]PSGallery] in 2.6720 seconds.
VERBOSE: [CTX-DC01]: LCM: [ Start Set ] [[PackageManagementSource]PSGallery]
WARNING: [CTX-DC01]: [[PackageManagementSource]PSGallery] Begin registering 'psgallery' to source location 'https://www.powershellg
allery.com/api/v2' with 'Trusted' policy"
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Begin invoking Register-Packagesource psgallery
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Package source 'psgallery' found
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Resource psgallery is not in the desired state. Required installation pol
icy is Trusted and registered is Untrusted
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: LCM: [ End Test ] [[PackageManagementSource]PSGallery] in 2.3590 seconds.
VERBOSE: [CTX-DC02]: LCM: [ Start Set ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Package source 'psgallery' found
WARNING: [CTX-DC02]: [[PackageManagementSource]PSGallery] Begin registering 'psgallery' to source location 'https://www.powershellg
allery.com/api/v2' with 'Trusted' policy"
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Resource psgallery is not in the desired state. Required installation pol
icy is Trusted and registered is Untrusted
VERBOSE: [CTX-SF02]: LCM: [ End Test ] [[PackageManagementSource]PSGallery] in 2.4070 seconds.
VERBOSE: [CTX-SF02]: LCM: [ Start Set ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Begin invoking Register-Packagesource psgallery
WARNING: [CTX-SF02]: [[PackageManagementSource]PSGallery] Begin registering 'psgallery' to source location 'https://www.powershellg
allery.com/api/v2' with 'Trusted' policy"
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Begin invoking Register-Packagesource psgallery
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Package source 'psgallery' found
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Resource psgallery is not in the desired state. Required installation pol
icy is Trusted and registered is Untrusted
VERBOSE: [CTX-SF01]: LCM: [ End Test ] [[PackageManagementSource]PSGallery] in 2.7500 seconds.
VERBOSE: [CTX-SF01]: LCM: [ Start Set ] [[PackageManagementSource]PSGallery]
WARNING: [CTX-SF01]: [[PackageManagementSource]PSGallery] Begin registering 'psgallery' to source location 'https://www.powershellg
allery.com/api/v2' with 'Trusted' policy"
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Begin invoking Register-Packagesource psgallery
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Successfully registered the package source psgallery
VERBOSE: [CTX-SF02]: LCM: [ End Set ] [[PackageManagementSource]PSGallery] in 8.5400 seconds.
VERBOSE: [CTX-SF02]: LCM: [ End Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-SF02]: LCM: [ Start Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF02]: LCM: [ Start Test ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Test-TargetResource calling Get-TargetResource using -Name XenDesktop7 -Required
Version 2.5.11 -Source PSGallery -Ensure Present -Verbose True .
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Begin invoking Get-package -Name XenDesktop7 -RequiredVersion 2.5.11 -Verbose Tr
ue using PSModulePath C:\windows\system32\config\systemprofile\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\windows\syst
em32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Citrix\Receiver StoreFront\PowerShellSDK\Modules\.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Successfully registered the package source psgallery
VERBOSE: [CTX-DC02]: LCM: [ End Set ] [[PackageManagementSource]PSGallery] in 8.6900 seconds.
VERBOSE: [CTX-DC02]: LCM: [ End Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-DC02]: LCM: [ Start Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC02]: LCM: [ Start Test ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Test-TargetResource calling Get-TargetResource using -Name XenDesktop7 -Required
Version 2.5.11 -Source PSGallery -Ensure Present -Verbose True .
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Begin invoking Get-package -Name XenDesktop7 -RequiredVersion 2.5.11 -Verbose Tr
ue using PSModulePath C:\windows\system32\config\systemprofile\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\windows\syst
em32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Citrix\Telemetry Service\;C:\Program Files\Citrix\PowerShellModules\;C:\Program Files\Citrix\XenDesktopPo
shSdk\Module\Citrix.XenDesktop.Admin.V1\.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Package 'XenDesktop7' not found.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Resource XenDesktop7 is not in the desired state. Required Ensure is Present and
actual Ensure is Absent
VERBOSE: [CTX-SF02]: LCM: [ End Test ] [[PackageManagement]PSModule] in 0.8600 seconds.
VERBOSE: [CTX-SF02]: LCM: [ Start Set ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Set-TargetResource calling Test-TargetResource using -Name XenDesktop7 -Required
Version 2.5.11 -Source PSGallery -Ensure Present -Verbose True .
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Package 'XenDesktop7' not found.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Resource XenDesktop7 is not in the desired state. Required Ensure is Present and
actual Ensure is Absent
VERBOSE: [CTX-DC02]: LCM: [ End Test ] [[PackageManagement]PSModule] in 0.8900 seconds.
VERBOSE: [CTX-DC02]: LCM: [ Start Set ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Successfully registered the package source psgallery
VERBOSE: [CTX-SF01]: LCM: [ End Set ] [[PackageManagementSource]PSGallery] in 9.2970 seconds.
VERBOSE: [CTX-SF01]: LCM: [ End Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-SF01]: LCM: [ Start Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF01]: LCM: [ Start Test ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Set-TargetResource calling Test-TargetResource using -Name XenDesktop7 -Required
Version 2.5.11 -Source PSGallery -Ensure Present -Verbose True .
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Test-TargetResource calling Get-TargetResource using -Name XenDesktop7 -Required
Version 2.5.11 -Source PSGallery -Ensure Present -Verbose True .
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Begin invoking Get-package -Name XenDesktop7 -RequiredVersion 2.5.11 -Verbose Tr
ue using PSModulePath C:\Windows\system32\config\systemprofile\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\syst
em32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Citrix\Receiver StoreFront\PowerShellSDK\Modules\;C:\Program Files\Citrix\Telemetry Service\.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Successfully registered the package source psgallery
VERBOSE: [CTX-DC01]: LCM: [ End Set ] [[PackageManagementSource]PSGallery] in 9.9840 seconds.
VERBOSE: [CTX-DC01]: LCM: [ End Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-DC01]: LCM: [ Start Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC01]: LCM: [ Start Test ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Test-TargetResource calling Get-TargetResource using -Name XenDesktop7 -Required
Version 2.5.11 -Source PSGallery -Ensure Present -Verbose True .
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Begin invoking Get-package -Name XenDesktop7 -RequiredVersion 2.5.11 -Verbose Tr
ue using PSModulePath C:\Windows\system32\config\systemprofile\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\syst
em32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Citrix\XenDesktopPoshSdk\Module\Citrix.XenDesktop.Admin.V1\;C:\Program Files\Citrix\Telemetry Service\;C:
\Program Files\Citrix\PowerShellModules\.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Repository details, Name = 'PSGallery', Location = 'https://www.powershellgaller
y.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Using the provider 'PowerShellGet' for searching packages.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Repository details, Name = 'PSGallery', Location = 'https://www.powershellgaller
y.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Using the provider 'PowerShellGet' for searching packages.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Using the specified source names : 'PSGallery'.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] The specified Location is 'https://www.powershellgallery.com/api/v2' and Package
ManagementProvider is 'NuGet'.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Using the specified source names : 'PSGallery'.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] The specified Location is 'https://www.powershellgallery.com/api/v2' and Package
ManagementProvider is 'NuGet'.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Package 'XenDesktop7' not found.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Resource XenDesktop7 is not in the desired state. Required Ensure is Present and
actual Ensure is Absent
VERBOSE: [CTX-SF01]: LCM: [ End Test ] [[PackageManagement]PSModule] in 1.0930 seconds.
VERBOSE: [CTX-SF01]: LCM: [ Start Set ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Set-TargetResource calling Test-TargetResource using -Name XenDesktop7 -Required
Version 2.5.11 -Source PSGallery -Ensure Present -Verbose True .
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Repository details, Name = 'PSGallery', Location = 'https://www.powershellgaller
y.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Using the provider 'PowerShellGet' for searching packages.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Using the specified source names : 'PSGallery'.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Package 'XenDesktop7' not found.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Resource XenDesktop7 is not in the desired state. Required Ensure is Present and
actual Ensure is Absent
VERBOSE: [CTX-DC01]: LCM: [ End Test ] [[PackageManagement]PSModule] in 1.7190 seconds.
VERBOSE: [CTX-DC01]: LCM: [ Start Set ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] The specified Location is 'https://www.powershellgallery.com/api/v2' and Package
ManagementProvider is 'NuGet'.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Set-TargetResource calling Test-TargetResource using -Name XenDesktop7 -Required
Version 2.5.11 -Source PSGallery -Ensure Present -Verbose True .
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById(
)?id='XenDesktop7'' for ''.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById(
)?id='XenDesktop7'' for ''.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Repository details, Name = 'PSGallery', Location = 'https://www.powershellgaller
y.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Using the provider 'PowerShellGet' for searching packages.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById(
)?id='XenDesktop7'' for ''.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Using the specified source names : 'PSGallery'.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] The specified Location is 'https://www.powershellgallery.com/api/v2' and Package
ManagementProvider is 'NuGet'.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Total package yield:'1' for the specified package 'XenDesktop7'.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Total package yield:'1' for the specified package 'XenDesktop7'.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Total package yield:'1' for the specified package 'XenDesktop7'.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Performing the operation "Install Package" on target "Package 'XenDesktop7' vers
ion '2.5.11' from 'PSGallery'.".
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] The specified module will be installed in 'C:\Program Files\WindowsPowerShell\Mo
dules'.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Performing the operation "Install Package" on target "Package 'XenDesktop7' vers
ion '2.5.11' from 'PSGallery'.".
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Downloading module 'XenDesktop7' with version '2.5.11' from the repository 'http
s://www.powershellgallery.com/api/v2'.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] The specified module will be installed in 'C:\Program Files\WindowsPowerShell\Mo
dules'.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Performing the operation "Install Package" on target "Package 'XenDesktop7' vers
ion '2.5.11' from 'PSGallery'.".
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Downloading module 'XenDesktop7' with version '2.5.11' from the repository 'http
s://www.powershellgallery.com/api/v2'.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] The specified module will be installed in 'C:\Program Files\WindowsPowerShell\Mo
dules'.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Downloading module 'XenDesktop7' with version '2.5.11' from the repository 'http
s://www.powershellgallery.com/api/v2'.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById(
)?id='XenDesktop7'' for ''.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById(
)?id='XenDesktop7'' for ''.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById(
)?id='XenDesktop7'' for ''.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] InstallPackage' - name='XenDesktop7', version='2.5.11',destination='C:\windows\T
EMP\1166706480'
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] DownloadPackage' - name='XenDesktop7', version='2.5.11',destination='C:\windows\
TEMP\1166706480\XenDesktop7\XenDesktop7.nupkg', uri='https://www.powershellgallery.com/api/v2/package/XenDesktop7/2.5.11'
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Downloading 'https://www.powershellgallery.com/api/v2/package/XenDesktop7/2.5.11
'.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] InstallPackage' - name='XenDesktop7', version='2.5.11',destination='C:\windows\T
EMP\818140973'
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] DownloadPackage' - name='XenDesktop7', version='2.5.11',destination='C:\windows\
TEMP\818140973\XenDesktop7\XenDesktop7.nupkg', uri='https://www.powershellgallery.com/api/v2/package/XenDesktop7/2.5.11'
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Downloading 'https://www.powershellgallery.com/api/v2/package/XenDesktop7/2.5.11
'.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById(
)?id='XenDesktop7'' for ''.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Completed downloading 'https://www.powershellgallery.com/api/v2/package/XenDeskt
op7/2.5.11'.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Completed downloading 'XenDesktop7'.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Hash for package 'XenDesktop7' does not match hash provided from the server.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] InstallPackageLocal' - name='XenDesktop7', version='2.5.11',destination='C:\wind
ows\TEMP\1166706480'
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Completed downloading 'https://www.powershellgallery.com/api/v2/package/XenDeskt
op7/2.5.11'.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Completed downloading 'XenDesktop7'.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Hash for package 'XenDesktop7' does not match hash provided from the server.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] InstallPackageLocal' - name='XenDesktop7', version='2.5.11',destination='C:\wind
ows\TEMP\818140973'
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] InstallPackage' - name='XenDesktop7', version='2.5.11',destination='C:\Windows\T
EMP\991318892'
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] DownloadPackage' - name='XenDesktop7', version='2.5.11',destination='C:\Windows\
TEMP\991318892\XenDesktop7\XenDesktop7.nupkg', uri='https://www.powershellgallery.com/api/v2/package/XenDesktop7/2.5.11'
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Downloading 'https://www.powershellgallery.com/api/v2/package/XenDesktop7/2.5.11
'.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Completed downloading 'https://www.powershellgallery.com/api/v2/package/XenDeskt
op7/2.5.11'.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Completed downloading 'XenDesktop7'.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Hash for package 'XenDesktop7' does not match hash provided from the server.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Total package yield:'1' for the specified package 'XenDesktop7'.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] InstallPackageLocal' - name='XenDesktop7', version='2.5.11',destination='C:\Wind
ows\TEMP\991318892'
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Performing the operation "Install Package" on target "Package 'XenDesktop7' vers
ion '2.5.11' from 'PSGallery'.".
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Catalog file 'XenDesktop7.cat' is not found in the contents of the module 'XenDe
sktop7' being installed.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] The specified module will be installed in 'C:\Program Files\WindowsPowerShell\Mo
dules'.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Downloading module 'XenDesktop7' with version '2.5.11' from the repository 'http
s://www.powershellgallery.com/api/v2'.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Catalog file 'XenDesktop7.cat' is not found in the contents of the module 'XenDe
sktop7' being installed.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Module 'XenDesktop7' was installed successfully to path 'C:\Program Files\Window
sPowerShell\Modules\XenDesktop7\2.5.11'.
VERBOSE: [CTX-DC02]: LCM: [ End Set ] [[PackageManagement]PSModule] in 6.6570 seconds.
VERBOSE: [CTX-DC02]: LCM: [ End Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC02]: LCM: [ End Set ]
VERBOSE: [CTX-DC02]: LCM: [ End Set ] in 19.1930 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Catalog file 'XenDesktop7.cat' is not found in the contents of the module 'XenDe
sktop7' being installed.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Module 'XenDesktop7' was installed successfully to path 'C:\Program Files\Window
sPowerShell\Modules\XenDesktop7\2.5.11'.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById(
)?id='XenDesktop7'' for ''.
VERBOSE: [CTX-SF02]: LCM: [ End Set ] [[PackageManagement]PSModule] in 7.1470 seconds.
VERBOSE: [CTX-SF02]: LCM: [ End Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF02]: LCM: [ End Set ]
VERBOSE: [CTX-SF02]: LCM: [ End Set ] in 19.5640 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] InstallPackage' - name='XenDesktop7', version='2.5.11',destination='C:\Windows\T
EMP\985142616'
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] DownloadPackage' - name='XenDesktop7', version='2.5.11',destination='C:\Windows\
TEMP\985142616\XenDesktop7\XenDesktop7.nupkg', uri='https://www.powershellgallery.com/api/v2/package/XenDesktop7/2.5.11'
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Downloading 'https://www.powershellgallery.com/api/v2/package/XenDesktop7/2.5.11
'.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Completed downloading 'https://www.powershellgallery.com/api/v2/package/XenDeskt
op7/2.5.11'.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Completed downloading 'XenDesktop7'.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Hash for package 'XenDesktop7' does not match hash provided from the server.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] InstallPackageLocal' - name='XenDesktop7', version='2.5.11',destination='C:\Wind
ows\TEMP\985142616'
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Module 'XenDesktop7' was installed successfully to path 'C:\Program Files\Window
sPowerShell\Modules\XenDesktop7\2.5.11'.
VERBOSE: [CTX-SF01]: LCM: [ End Set ] [[PackageManagement]PSModule] in 6.7190 seconds.
VERBOSE: [CTX-SF01]: LCM: [ End Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF01]: LCM: [ End Set ]
VERBOSE: [CTX-SF01]: LCM: [ End Set ] in 20.4060 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Catalog file 'XenDesktop7.cat' is not found in the contents of the module 'XenDe
sktop7' being installed.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Module 'XenDesktop7' was installed successfully to path 'C:\Program Files\Window
sPowerShell\Modules\XenDesktop7\2.5.11'.
VERBOSE: [CTX-DC01]: LCM: [ End Set ] [[PackageManagement]PSModule] in 7.4680 seconds.
VERBOSE: [CTX-DC01]: LCM: [ End Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC01]: LCM: [ End Set ]
VERBOSE: [CTX-DC01]: LCM: [ End Set ] in 22.0310 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 22.107 seconds
PS C:\windows\system32>
|
Great, we have now installed Xendesktop7 module on all our targeted servers
Let’s test
It wouldn’t be fair to just tell you the modules are installed, let’s test this with a powershell script:
foreach ($server in $all)
{
Invoke-Command -ComputerName $server -ScriptBlock { if(Get-DscResource -Module XenDesktop7){return "Xendesktop7 module is installed on $env:COMPUTERNAME"} }
}
|
PS C:\windows\system32> foreach ($server in $all)
{
Invoke-Command -ComputerName $server -ScriptBlock { if(Get-DscResource -Module XenDesktop7){return "Xendesktop7 module is installed on $env:COMPUTERNAME"} }
}
Xendesktop7 module is installed on CTX-DC01
Xendesktop7 module is installed on CTX-DC02
Xendesktop7 module is installed on CTX-SF01
Xendesktop7 module is installed on CTX-SF02
PS C:\windows\system32>
Deploying Storefront, Delivery Controller & Studio at once
I’ve created 2 more Configurations which I called InstallDDC and InstallStorefront which generates 4 new .mof configuration files
InstallDDC -Servername $ddcs -XenDesktopMediaPath \\MS-DSC01\DSCStore\Citrix -OutputPath \\MS-DSC01\DSCStore\DSCDatabase\Citrix -Verbose
InstallStorefront -Servername $sfs -XenDesktopMediaPath \\MS-DSC01\DSCStore\Citrix -OutputPath \\MS-DSC01\DSCStore\DSCDatabase\Citrix -Verbose
|
You can find detailed information about these configuration on: https://github.com/VirtualEngine/XenDesktop7
PS C:\windows\system32> Start-DscConfiguration -Wait -Force -verbose -Path \\MS-DSC01\DSCStore\DSCDatabase\Citrix
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManage
r,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManage
r,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManage
r,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManage
r,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer MS-DSC01 with user sid ###FILTERED OUT###.
VERBOSE: An LCM method call arrived from computer MS-DSC01 with user sid ###FILTERED OUT###.
VERBOSE: [CTX-DC02]: LCM: [ Start Set ]
VERBOSE: [CTX-SF02]: LCM: [ Start Set ]
VERBOSE: An LCM method call arrived from computer MS-DSC01 with user sid ###FILTERED OUT###.
VERBOSE: [CTX-DC01]: LCM: [ Start Set ]
VERBOSE: An LCM method call arrived from computer MS-DSC01 with user sid ###FILTERED OUT###.
VERBOSE: [CTX-SF01]: LCM: [ Start Set ]
VERBOSE: [CTX-DC02]: LCM: [ Start Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-DC02]: LCM: [ Start Test ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Begin invoking Get-packageSource psgallery
VERBOSE: [CTX-DC01]: LCM: [ Start Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-DC01]: LCM: [ Start Test ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Begin invoking Get-packageSource psgallery
VERBOSE: [CTX-SF02]: LCM: [ Start Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-SF02]: LCM: [ Start Test ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Begin invoking Get-packageSource psgallery
VERBOSE: [CTX-SF01]: LCM: [ Start Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-SF01]: LCM: [ Start Test ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Begin invoking Get-packageSource psgallery
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Package source 'psgallery' found
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Resource psgallery is not in the desired state. Required installation pol
icy is Untrusted and registered is Trusted
VERBOSE: [CTX-DC02]: LCM: [ End Test ] [[PackageManagementSource]PSGallery] in 2.4370 seconds.
VERBOSE: [CTX-DC02]: LCM: [ Start Set ] [[PackageManagementSource]PSGallery]
WARNING: [CTX-DC02]: [[PackageManagementSource]PSGallery] Begin registering 'psgallery' to source location 'https://www.powershellg
allery.com/api/v2' with 'Untrusted' policy"
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Begin invoking Register-Packagesource psgallery
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Package source 'psgallery' found
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Resource psgallery is not in the desired state. Required installation pol
icy is Untrusted and registered is Trusted
VERBOSE: [CTX-DC01]: LCM: [ End Test ] [[PackageManagementSource]PSGallery] in 2.5160 seconds.
VERBOSE: [CTX-DC01]: LCM: [ Start Set ] [[PackageManagementSource]PSGallery]
WARNING: [CTX-DC01]: [[PackageManagementSource]PSGallery] Begin registering 'psgallery' to source location 'https://www.powershellg
allery.com/api/v2' with 'Untrusted' policy"
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Begin invoking Register-Packagesource psgallery
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Package source 'psgallery' found
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Resource psgallery is not in the desired state. Required installation pol
icy is Untrusted and registered is Trusted
VERBOSE: [CTX-SF02]: LCM: [ End Test ] [[PackageManagementSource]PSGallery] in 2.4370 seconds.
VERBOSE: [CTX-SF02]: LCM: [ Start Set ] [[PackageManagementSource]PSGallery]
WARNING: [CTX-SF02]: [[PackageManagementSource]PSGallery] Begin registering 'psgallery' to source location 'https://www.powershellg
allery.com/api/v2' with 'Untrusted' policy"
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Begin invoking Register-Packagesource psgallery
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Package source 'psgallery' found
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Resource psgallery is not in the desired state. Required installation pol
icy is Untrusted and registered is Trusted
VERBOSE: [CTX-SF01]: LCM: [ End Test ] [[PackageManagementSource]PSGallery] in 2.7660 seconds.
VERBOSE: [CTX-SF01]: LCM: [ Start Set ] [[PackageManagementSource]PSGallery]
WARNING: [CTX-SF01]: [[PackageManagementSource]PSGallery] Begin registering 'psgallery' to source location 'https://www.powershellg
allery.com/api/v2' with 'Untrusted' policy"
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Begin invoking Register-Packagesource psgallery
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Repository details, Name = 'PSGallery', Location = 'https://www.powershel
lgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: [CTX-DC02]: [[PackageManagementSource]PSGallery] Successfully registered the package source psgallery
VERBOSE: [CTX-DC02]: LCM: [ End Set ] [[PackageManagementSource]PSGallery] in 8.3380 seconds.
VERBOSE: [CTX-DC02]: LCM: [ End Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-DC02]: LCM: [ Start Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC02]: LCM: [ Start Test ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Test-TargetResource calling Get-TargetResource using -Name XenDesktop7 -Required
Version 2.5.11 -Source psgallery -Ensure Present -Verbose True .
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Begin invoking Get-package -Name XenDesktop7 -RequiredVersion 2.5.11 -Verbose Tr
ue using PSModulePath C:\windows\system32\config\systemprofile\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\windows\syst
em32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Citrix\Telemetry Service\;C:\Program Files\Citrix\PowerShellModules\;C:\Program Files\Citrix\XenDesktopPo
shSdk\Module\Citrix.XenDesktop.Admin.V1\.
VERBOSE: [CTX-SF02]: [[PackageManagementSource]PSGallery] Successfully registered the package source psgallery
VERBOSE: [CTX-SF02]: LCM: [ End Set ] [[PackageManagementSource]PSGallery] in 8.1410 seconds.
VERBOSE: [CTX-SF02]: LCM: [ End Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-SF02]: LCM: [ Start Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF02]: LCM: [ Start Test ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Test-TargetResource calling Get-TargetResource using -Name XenDesktop7 -Required
Version 2.5.11 -Source psgallery -Ensure Present -Verbose True .
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Begin invoking Get-package -Name XenDesktop7 -RequiredVersion 2.5.11 -Verbose Tr
ue using PSModulePath C:\windows\system32\config\systemprofile\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\windows\syst
em32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Citrix\Receiver StoreFront\PowerShellSDK\Modules\.
VERBOSE: [CTX-DC01]: [[PackageManagementSource]PSGallery] Successfully registered the package source psgallery
VERBOSE: [CTX-DC01]: LCM: [ End Set ] [[PackageManagementSource]PSGallery] in 8.4690 seconds.
VERBOSE: [CTX-DC01]: LCM: [ End Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-DC01]: LCM: [ Start Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC01]: LCM: [ Start Test ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Test-TargetResource calling Get-TargetResource using -Name XenDesktop7 -Required
Version 2.5.11 -Source psgallery -Ensure Present -Verbose True .
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Begin invoking Get-package -Name XenDesktop7 -RequiredVersion 2.5.11 -Verbose Tr
ue using PSModulePath C:\Windows\system32\config\systemprofile\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\syst
em32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Citrix\XenDesktopPoshSdk\Module\Citrix.XenDesktop.Admin.V1\;C:\Program Files\Citrix\Telemetry Service\;C:
\Program Files\Citrix\PowerShellModules\.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Package 'XenDesktop7' found.
VERBOSE: [CTX-DC02]: [[PackageManagement]PSModule] Resource XenDesktop7 is in the desired state. Required Ensure is Present and act
ual Ensure is Present
VERBOSE: [CTX-DC02]: LCM: [ End Test ] [[PackageManagement]PSModule] in 1.1220 seconds.
VERBOSE: [CTX-DC02]: LCM: [ Skip Set ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC02]: LCM: [ End Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC02]: LCM: [ Start Resource ] [[XD7Features]XD7Controller]
VERBOSE: [CTX-DC02]: LCM: [ Start Test ] [[XD7Features]XD7Controller]
VERBOSE: [CTX-SF01]: [[PackageManagementSource]PSGallery] Successfully registered the package source psgallery
VERBOSE: [CTX-SF01]: LCM: [ End Set ] [[PackageManagementSource]PSGallery] in 8.3590 seconds.
VERBOSE: [CTX-SF01]: LCM: [ End Resource ] [[PackageManagementSource]PSGallery]
VERBOSE: [CTX-SF01]: LCM: [ Start Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF01]: LCM: [ Start Test ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Test-TargetResource calling Get-TargetResource using -Name XenDesktop7 -Required
Version 2.5.11 -Source psgallery -Ensure Present -Verbose True .
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Begin invoking Get-package -Name XenDesktop7 -RequiredVersion 2.5.11 -Verbose Tr
ue using PSModulePath C:\Windows\system32\config\systemprofile\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\syst
em32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Citrix\Receiver StoreFront\PowerShellSDK\Modules\;C:\Program Files\Citrix\Telemetry Service\.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Package 'XenDesktop7' found.
VERBOSE: [CTX-SF02]: [[PackageManagement]PSModule] Resource XenDesktop7 is in the desired state. Required Ensure is Present and act
ual Ensure is Present
VERBOSE: [CTX-SF02]: LCM: [ End Test ] [[PackageManagement]PSModule] in 1.1400 seconds.
VERBOSE: [CTX-SF02]: LCM: [ Skip Set ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF02]: LCM: [ End Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF02]: LCM: [ Start Resource ] [[XD7Features]StoreFront]
VERBOSE: [CTX-SF02]: LCM: [ Start Test ] [[XD7Features]StoreFront]
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Package 'XenDesktop7' found.
VERBOSE: [CTX-DC01]: [[PackageManagement]PSModule] Resource XenDesktop7 is in the desired state. Required Ensure is Present and act
ual Ensure is Present
VERBOSE: [CTX-DC01]: LCM: [ End Test ] [[PackageManagement]PSModule] in 1.3440 seconds.
VERBOSE: [CTX-DC01]: LCM: [ Skip Set ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC01]: LCM: [ End Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-DC01]: LCM: [ Start Resource ] [[XD7Features]XD7Controller]
VERBOSE: [CTX-DC01]: LCM: [ Start Test ] [[XD7Features]XD7Controller]
VERBOSE: [CTX-DC02]: [[XD7Features]XD7Controller] Citrix XenDesktop 7.x Feature(s) 'Controller,Studio' are in the desired state.
VERBOSE: [CTX-DC02]: LCM: [ End Test ] [[XD7Features]XD7Controller] in 0.7970 seconds.
VERBOSE: [CTX-DC02]: LCM: [ Skip Set ] [[XD7Features]XD7Controller]
VERBOSE: [CTX-DC02]: LCM: [ End Resource ] [[XD7Features]XD7Controller]
VERBOSE: [CTX-DC02]: LCM: [ End Set ]
VERBOSE: [CTX-DC02]: LCM: [ End Set ] in 13.5380 seconds.
VERBOSE: [CTX-SF02]: [[XD7Features]StoreFront] Citrix XenDesktop 7.x Feature(s) 'Storefront' are in the desired state.
VERBOSE: [CTX-SF02]: LCM: [ End Test ] [[XD7Features]StoreFront] in 0.6720 seconds.
VERBOSE: [CTX-SF02]: LCM: [ Skip Set ] [[XD7Features]StoreFront]
VERBOSE: [CTX-SF02]: LCM: [ End Resource ] [[XD7Features]StoreFront]
VERBOSE: [CTX-SF02]: LCM: [ Start Resource ] [[Service]StorefrontIIS]
VERBOSE: [CTX-SF02]: LCM: [ Start Test ] [[Service]StorefrontIIS]
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: [CTX-SF02]: [[Service]StorefrontIIS] Perform operation 'Query CimInstances' with following parameters, ''queryExpression'
= SELECT * FROM Win32_Service WHERE Name='W3SVC','queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [CTX-SF02]: [[Service]StorefrontIIS] Operation 'Query CimInstances' complete.
VERBOSE: [CTX-SF02]: LCM: [ End Test ] [[Service]StorefrontIIS] in 0.4370 seconds.
VERBOSE: [CTX-SF02]: LCM: [ Skip Set ] [[Service]StorefrontIIS]
VERBOSE: [CTX-SF02]: LCM: [ End Resource ] [[Service]StorefrontIIS]
VERBOSE: [CTX-SF02]: LCM: [ End Set ]
VERBOSE: [CTX-SF02]: LCM: [ End Set ] in 13.9840 seconds.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Package 'XenDesktop7' found.
VERBOSE: [CTX-SF01]: [[PackageManagement]PSModule] Resource XenDesktop7 is in the desired state. Required Ensure is Present and act
ual Ensure is Present
VERBOSE: [CTX-SF01]: LCM: [ End Test ] [[PackageManagement]PSModule] in 1.2810 seconds.
VERBOSE: [CTX-SF01]: LCM: [ Skip Set ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF01]: LCM: [ End Resource ] [[PackageManagement]PSModule]
VERBOSE: [CTX-SF01]: LCM: [ Start Resource ] [[XD7Features]StoreFront]
VERBOSE: [CTX-SF01]: LCM: [ Start Test ] [[XD7Features]StoreFront]
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: [CTX-DC01]: [[XD7Features]XD7Controller] Citrix XenDesktop 7.x Feature(s) 'Controller,Studio' are in the desired state.
VERBOSE: [CTX-DC01]: LCM: [ End Test ] [[XD7Features]XD7Controller] in 0.9070 seconds.
VERBOSE: [CTX-DC01]: LCM: [ Skip Set ] [[XD7Features]XD7Controller]
VERBOSE: [CTX-DC01]: LCM: [ End Resource ] [[XD7Features]XD7Controller]
VERBOSE: [CTX-DC01]: LCM: [ End Set ]
VERBOSE: [CTX-DC01]: LCM: [ End Set ] in 14.2040 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: [CTX-SF01]: [[XD7Features]StoreFront] Citrix XenDesktop 7.x Feature(s) 'Storefront' are in the desired state.
VERBOSE: [CTX-SF01]: LCM: [ End Test ] [[XD7Features]StoreFront] in 0.8910 seconds.
VERBOSE: [CTX-SF01]: LCM: [ Skip Set ] [[XD7Features]StoreFront]
VERBOSE: [CTX-SF01]: LCM: [ End Resource ] [[XD7Features]StoreFront]
VERBOSE: [CTX-SF01]: LCM: [ Start Resource ] [[Service]StorefrontIIS]
VERBOSE: [CTX-SF01]: LCM: [ Start Test ] [[Service]StorefrontIIS]
VERBOSE: [CTX-SF01]: [[Service]StorefrontIIS] Perform operation 'Query CimInstances' with following parameters, ''queryExpression'
= SELECT * FROM Win32_Service WHERE Name='W3SVC','queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [CTX-SF01]: [[Service]StorefrontIIS] Operation 'Query CimInstances' complete.
VERBOSE: [CTX-SF01]: LCM: [ End Test ] [[Service]StorefrontIIS] in 0.5150 seconds.
VERBOSE: [CTX-SF01]: LCM: [ Skip Set ] [[Service]StorefrontIIS]
VERBOSE: [CTX-SF01]: LCM: [ End Resource ] [[Service]StorefrontIIS]
VERBOSE: [CTX-SF01]: LCM: [ End Set ]
VERBOSE: [CTX-SF01]: LCM: [ End Set ] in 15.4060 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 15.632 seconds
PS C:\windows\system32>
|
Next phase
As you can see the method above allows you to push the configuration to the targets and monitor their state, in the next phase I will try to setup a pull server.
Stay tuned!
Comments
Post a Comment