
AdminStudio 2013 Release Notes ADM-2013-RN5 41
Release Notes
New-ASCatalog
You can use the New-ASCatalog command to create a new Application Catalog.
Examples
The following is the syntax used to create a new Application Catalog:
New-ASCatalog -CatalogName NameOfNewCatalog
For example:
New-ASCatalog -CatalogName CAT2013FEB
Important • When AdminStudio executes the New-ASCatalog command, it uses the upgrade.xml file,
which contains a list of the SQL scripts that need to be run to create a new Application Catalog. By
default, the
upgrade.xml file is installed in the Support subdirectory of the AdminStudio installation
directory. If you want to create a new Application Catalog using an
upgrade.xml file in a different location,
you need to provide the path to that file in the
New-ASCatalog command line, such as:
New-ASCatalog C:\MyScripts -CatalogName MyNewCatalog
Note • Before using the New-ASCatalog command to create a new Application Catalog, you need to
have already used the Set-ASConfigPlatform command with the ConnectionString parameter to enter the
connection information to the SQL database.
Parameters
The New-ASCatalog command has the following parameters:
Tab l e 5 • New-ASCatalog Parameters
Parameter Description
CatalogName Use to enter a name for the new Application Catalog. Upon
successful creation, you will be automatically connected to the new
Application Catalog.
[UseSoftwareRepository] Use to enable the software repository in the new Application Catalog.
This parameter requires you to also supply the user name, password,
and path to the repository. for example:
New-ASCatalog -CatalogName mycatalog -UseSoftwareRepository
SoftwareRepositoryUser=JoeSmith;
SoftwareRepositoryPassword=mypassword123;
SoftwareRepositoryPath=C:\MyRepository;
[IsSubscriber] Use if you are creating a new SQL Server database which is intended
for use as a Subscriber for Application Catalog Replication.
Commenti su questo manuale