Documentation Center

Getting deployment history

Use the Get-ISHDeploymentHistory cmdlet to get the history of a deployment.

Get the history

All actions through the module's cmdlets are tracked and stored in a history file.

You can get the history with:

$deploymentName = "InfoShare"
Get-ISHDeploymentHistory -ISHDeployment $deploymentName

If you would execute the following:

# $deploymentName is the name of Deployment

# Enable the External Preview using externalid
Enable-ISHExternalPreview -ISHDeployment $deploymentName -ExternalId "externalid"

And then again Get-ISHDeploymentHistory -ISHDeployment $deploymentName outputs as an example of a history file:

<#ISHDeployScriptInfo

.VERSION 1.0

.MODULE {ModuleName}

.CREATEDBYMODULEVERSION 3.0.0

.UPDATEDBYMODULEVERSION 3.0.0

#>

param(
    [Parameter(Mandatory=$false)]
    [switch]$IncludeCustomFile=$false
)

# 20230217
$deploymentName = "InfoShare"
Enable-ISHExternalPreview -ExternalId "externalid" -ISHDeployment $deploymentName

Clear history artifacts

Because the module's codebase is not connected with the InstallTool.exe, the module's artifacts will not be removed when you uninstall. The Clear-ISHDeploymentHistory takes care of this by removing all artifacts.

You must use the following cmdlet before uninstalling:

Clear-ISHDeploymentHistory -ISHDeployment $deploymentName