List Management of Change (MoC) packages
- Last UpdatedApr 24, 2025
- 2 minute read
You can use the Management of Change (MoC) Package tool (dnapackage) to list all MoC packages, including MoC packages that have not been published.
Note: The package store (managed by the MOCOrchestrator service) must be available to successfully execute this command.
To list MoC packages
-
On the desktop, double-click the Windows PowerShell for DNA shortcut.
Windows PowerShell for DNA opens.
-
Execute the following commands:
set-silo RealTime
dnapackage list [--dalfolder <DAL configuration folder> --username <remote username> --password <remote password>]
Where:
-
--dalfolder <DAL configuration folder> is the DAL configuration folder name on the remote system you are trying to connect to (for example, --dalfolder systemName\control_room).
-
--username <remote username> is the username of the user on the remote system you are trying to connect to.
-
--password <remote password> is the password of the user on the remote system you are trying to connect to.
Note: The --dalfolder <DAL configuration folder>, --username <remote username>, and --password <remote password> parameters do not need to be included if you are listing packages on the same server as the MOCOrchestrator service. These parameters are mandatory if you are listing packages on any other server that does not have the MOCOrchestrator service. For example, listing packages on the Production MoC zone would require remote DAL configuration to connect to the MOCOrchestrator service.
-
The dnapackage list command would result in the following example output:
Packages:
Title: Package1 Title
Description: Package1 Description
Package Id: 559de1a4-8ae9-441a-9907-f2a94ad92973
Creation Time (UTC): 9/14/2018 6:54:38 PM
Last Update Time (UTC): 9/14/2018 6:55:38 PM
Published Time (UTC): 9/14/2018 6:57:14 PM
Title: Package2 Title
Description: Package2 Description
Package Id: a20338b7-7e4d-4cb4-aac3-909c8208c1f9
Creation Time (UTC): 9/14/2018 6:54:53 PM
Last Update Time (UTC): 9/14/2018 6:54:53 PM
Published Time (UTC): (unpublished)