Querying for Content Manager deployments
You can use ISHDeploy cmdlets to query for the available deployments on a Content Manager server.
Query for all deployments
To query for all deployments use the following command:
$deployments=Get-ISHDeployment
- When the server has no active deployment,
$deploymentswill be empty. - When the server has one deployment,
$deploymentswill hold a reference to the one deployment, typically known as the default deployment. - When the server has multiple deployments, you can create a clear report using the
Format-Tablecmdlet.
$deployments|Format-Table Name,SoftwareVersion,DatabaseType,AccessHostname
Name SoftwareVersion DatabaseType AccessHostName
---- --------------- ------------ --------------
InfoShareORA 15.0.3815.0 oracle ish.example.com
InfoShareSQL19 15.0.3815.0 sqlserver ish.example.com
InfoShareSQL22 15.0.3815.0 sqlserver ish.example.com
Query for a specific deployment
To query for one specific deployment uses the following command when the projectsuffix is empty.
Get-ISHDeployment -Name InfoShare
This outputs the following:
WebAppNameWSApi : ishws/Api
WebAppNameOWS : ishws/OWcf
WebAppNameAM : isham
WebAppNameID : ishid
WebAppNameEXT : ishext
WebAppNameDraftSpace : ishcs/DraftSpace
WebAppNameOrganizeSpace : ishcs/OrganizeSpace
WebAppNameReviewSpace : ishcs/ReviewSpace
SoftwareVersion : 15.0.3815.0
Name : InfoShare
AppPath : C:\InfoShare\App
WebPath : C:\InfoShare\Web
DataPath : C:\InfoShare\Data
DatabaseType : oracle
AccessHostName : ish.example.com
WebAppNameCM : ishcm
WebAppNameWS : ishws
WebAppNameSTS : ishsts
WebSiteName : Default Web Site
Status : Started
If the projectsuffix was not empty then concatenate it after InfoShare.
Get-ISHDeployment -Name InfoShareSQL