< Back

Expand-ISHCMPackage

Wed Jan 15, 2020 8:11 am

NAME Expand-ISHCMPackage



SYNOPSIS

Extracts files from several zip files to Custom or Bin directory and replaces parameters in files on values of the

deployment.





SYNTAX

Expand-ISHCMPackage -FileName <string[]> -ToCustom <SwitchParameter> [-ISHDeployment <ISHDeployment>]

[<CommonParameters>]



Expand-ISHCMPackage -FileName <string[]> [-ToBin <SwitchParameter>] [-ISHDeployment <ISHDeployment>]

[<CommonParameters>]





DESCRIPTION

Will extract 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[]>

Array of zip files.



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:\\>Expand-ISHCMPackage -ISHDeployment $deployment -ToCustom -FileName "example-extension.zip", temp.zip







RELATED LINKS

Set-ISHCMCUILResourceGroup