7.6 install with powershell series together with link to the article and command examples.
1
2
3
4
5
|
#
Get
-
XDSite
or
Get
-
ConfigSite
#
|
1
2
3
4
5
6
7
8
9
10
11
12
|
#For more info see:
#XenDesktop 7.6 install with powershell Part 1 - Figure 14
# -AdminAddress - controller we will connect to
# -ControllerName - controller we will add/remove
#Add new controller to the site
Add
-
XDController
-
AdminAddress
XD001
-
ControllerName
XD002
#Remove controller from the site
Remove
-
XDController
-
AdminAddress
XD001
-
ControllerName
XD002
#
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#For more info see:
#XenDesktop 7.6 install with powershell Part 1 - Figure 7,8,9
# Display licensing details
Get
-
ConfigSite
# Configure new settings for product code, edition and licensing model
Set
-
ConfigSite
-
LicensingModel
Concurrent
-
ProductCode
MPS
-
ProductEdition
ENT
# Configure License server name and port
Set
-
XDLicensing
-
LicenseServerAddress
DC01
-
LicenseServerPort
27001
# Display licensing options
Get
-
ConfigLicensingModel
#
|
1
2
3
4
5
6
7
8
9
10
11
12
|
# Configure new settings for product code, edition and licensing model
Set
-
ConfigSite
-
ProductCode
MPS
-
ProductEdition
ENT
# Display production options
Get
-
ConfigProduct
# Display product versions
Get
-
ConfigProductVersion
# Display product editions
Get
-
ConfigProductEdition
#
|
转载于:https://blog.51cto.com/alohacloud/1718807