< Back
Set-ISHCMCUILResourceGroup
Post
NAME Set-ISHCMCUILResourceGroup
SYNOPSIS
Sets resource group in ~\\Author\\ASP\\UI\\Extensions\\_config.xml.
SYNTAX
Set-ISHCMCUILResourceGroup [-Name <string>] -Path <string[]> [-ISHDeployment <ISHDeployment>] [<CommonParameters>]
DESCRIPTION
The Set-ISHCMCUILResourceGroup cmdlet sets resource group in "~\\Author\\ASP\\UI\\Extensions\\_config.xml".
PARAMETERS
-Name <string>
Name of resource group in "~\\Author\\ASP\\UI\\Extensions\\_config.xml".
Required? false
Position? named
Default value Trisoft.Extensions
Accept pipeline input? false
Accept wildcard characters? false
-Path <string[]>
Path or paths to resource files.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ISHDeployment <ISHDeployment>
Specifies the name or instance of the Content Manager deployment.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
---------- EXAMPLE 1 ----------
PS C:\\>Set-ISHCMCUILResourceGroup -ISHDeployment $deployment -Path "Extensions\\custom\\custom.js"
This command updates "~\\Author\\ASP\\UI\\Extensions\\_config.xml" CUIF config file with default Name
"Trisoft.Extensions" and adds path to "Extensions\\custom\\custom.js" file in resource group with name
"Trisoft.Extensions". In case resource group with such name does not exist this command will add new resource
group. Parameter $deployment is a deployment name or an instance of the Content Manager deployment retrieved from
Get-ISHDeployment cmdlet.
---------- EXAMPLE 2 ----------
PS C:\\>Set-ISHCMCUILResourceGroup -ISHDeployment $deployment -Name "Trisoft.Extensions" -Path
@("Extensions\\custom\\custom1.js", "Extensions\\custom\\custom2.js")
This command updates "~\\Author\\ASP\\UI\\Extensions\\_config.xml" CUIF config file and adds paths to bunch of files in
resource group with name "Trisoft.Extensions". In case resource group with such name does not exist this command
will add new resource group. Parameter $deployment is a deployment name or an instance of the Content Manager
deployment retrieved from Get-ISHDeployment cmdlet.
RELATED LINKS
Expand-ISHCMPackage
Copy-ISHCMFile
SYNOPSIS
Sets resource group in ~\\Author\\ASP\\UI\\Extensions\\_config.xml.
SYNTAX
Set-ISHCMCUILResourceGroup [-Name <string>] -Path <string[]> [-ISHDeployment <ISHDeployment>] [<CommonParameters>]
DESCRIPTION
The Set-ISHCMCUILResourceGroup cmdlet sets resource group in "~\\Author\\ASP\\UI\\Extensions\\_config.xml".
PARAMETERS
-Name <string>
Name of resource group in "~\\Author\\ASP\\UI\\Extensions\\_config.xml".
Required? false
Position? named
Default value Trisoft.Extensions
Accept pipeline input? false
Accept wildcard characters? false
-Path <string[]>
Path or paths to resource files.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ISHDeployment <ISHDeployment>
Specifies the name or instance of the Content Manager deployment.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
---------- EXAMPLE 1 ----------
PS C:\\>Set-ISHCMCUILResourceGroup -ISHDeployment $deployment -Path "Extensions\\custom\\custom.js"
This command updates "~\\Author\\ASP\\UI\\Extensions\\_config.xml" CUIF config file with default Name
"Trisoft.Extensions" and adds path to "Extensions\\custom\\custom.js" file in resource group with name
"Trisoft.Extensions". In case resource group with such name does not exist this command will add new resource
group. Parameter $deployment is a deployment name or an instance of the Content Manager deployment retrieved from
Get-ISHDeployment cmdlet.
---------- EXAMPLE 2 ----------
PS C:\\>Set-ISHCMCUILResourceGroup -ISHDeployment $deployment -Name "Trisoft.Extensions" -Path
@("Extensions\\custom\\custom1.js", "Extensions\\custom\\custom2.js")
This command updates "~\\Author\\ASP\\UI\\Extensions\\_config.xml" CUIF config file and adds paths to bunch of files in
resource group with name "Trisoft.Extensions". In case resource group with such name does not exist this command
will add new resource group. Parameter $deployment is a deployment name or an instance of the Content Manager
deployment retrieved from Get-ISHDeployment cmdlet.
RELATED LINKS
Expand-ISHCMPackage
Copy-ISHCMFile