< Back
Copy-ISHCMFile
Post
NAME Copy-ISHCMFile
SYNOPSIS
Copies several files to Custom or Bin directory and replaces parameters in files on values of the deployment.
SYNTAX
Copy-ISHCMFile -FileName <string[]> -ToCustom <SwitchParameter> [-ISHDeployment <ISHDeployment>]
[<CommonParameters>]
Copy-ISHCMFile -FileName <string[]> [-ToBin <SwitchParameter>] [-ISHDeployment <ISHDeployment>]
[<CommonParameters>]
DESCRIPTION
Will copy files from packages directory to Custom or Bin directory depends on switch and replace the placeholders
of files with the corresponding values of the deployment. Replacement of values occurs only in files of certain
extensions.
PARAMETERS
-FileName <string[]>
Path to zip file.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ToCustom <SwitchParameter>
Menu item move to the last position.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-ToBin <SwitchParameter>
Menu item move to the first position.
Required? false
Position? named
Default value False
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:\\>Copy-ISHCMFile -ISHDeployment $deployment -ToCustom -FileName test.js
RELATED LINKS
Set-ISHCMCUILResourceGroup
SYNOPSIS
Copies several files to Custom or Bin directory and replaces parameters in files on values of the deployment.
SYNTAX
Copy-ISHCMFile -FileName <string[]> -ToCustom <SwitchParameter> [-ISHDeployment <ISHDeployment>]
[<CommonParameters>]
Copy-ISHCMFile -FileName <string[]> [-ToBin <SwitchParameter>] [-ISHDeployment <ISHDeployment>]
[<CommonParameters>]
DESCRIPTION
Will copy files from packages directory to Custom or Bin directory depends on switch and replace the placeholders
of files with the corresponding values of the deployment. Replacement of values occurs only in files of certain
extensions.
PARAMETERS
-FileName <string[]>
Path to zip file.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ToCustom <SwitchParameter>
Menu item move to the last position.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-ToBin <SwitchParameter>
Menu item move to the first position.
Required? false
Position? named
Default value False
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:\\>Copy-ISHCMFile -ISHDeployment $deployment -ToCustom -FileName test.js
RELATED LINKS
Set-ISHCMCUILResourceGroup