New-QADLocalCertificateStore

From PowerGUI Wiki

Revision as of 21:26, 15 July 2010 by DSotnikov (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Create an X.509 certificate store in a store location such as CurrentUser or LocalMachine.

This cmdlet is part of the Quest ActiveRoles Server product. Use Get-QARSProductInfo to view information about ActiveRoles Server.

Contents

Syntax

New-QADLocalCertificateStore [-StoreName] <string> [[-StoreLocation] {CurrentUser | LocalMachine}] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

Use this cmdlet to create a new certificate store. The output object can be used to identify the new store to which to add (import) certificates.

The cmdlet creates a certificate store in a specified store location. Certificate stores are physical stores in which certificates are saved and managed. Store locations are high-level containers that group the certificate stores for the current user and for all users. Each system has the CurrentUser store location and the LocalMachine (all users) store location.



Parameters

Name Description Required? Pipeline Input Default Value
StoreLocation Specify the location in which to create a certificate store. Acceptable parameter values are:
- CurrentUser   The store to hold certificates for the current user.
- LocalMachine  The store to hold certificates for the local machine (all users).

The following values are permitted for this object type.

false false CurrentUser
StoreName Specify the name to assign to the new certificate store. true true (ByValue, ByPropertyName)
Confirm Prompts you for confirmation before executing the command. false false
WhatIf Describes what would happen if you executed the command without actually executing the command. false false

Return Values

Quest.ActiveRoles.ARSPowerShellSnapIn.CertificateStoreUI

Examples

EXAMPLE 1

New-QADLocalCertificateStore "MyCert" -StoreLocation LocalMachine

Description


Create a certificate store called MyCert to hold certificates for the local machine (all users).

EXAMPLE 2

New-QADLocalCertificateStore "MyCert"

Description


Create a certificate store called MyCert to hold certificates for the current user.

Personal tools