Note:The CCS PowerShell snap-ins are registered internally on the Windows PowerShell during snap-ins installation and are unregistered during snap-ins uninstallation.
To install CCS PowerShell snap-ins
- Navigate to the InstallSet\Tools\CCS PowerShell Snap-ins folder of the media structure.
- Click CCS PowerShell Snap-ins.exe.
- In the Welcome panel of the Symantec Control Compliance Suite PowerShell Snap-ins Setup Installation Wizard, click Next.
- In the End-User License Agreement panel, read the license agreement and select I accept the terms in the License Agreement to accept the terms of the end-user license agreement. Click Next to continue.
- In the Destination Folder panel, click Next to install the CCS PowerShell snap-ins to the default folder or click Browse to choose another folder.
- In the Ready to install Symantec CCS PowerShell Snap-ins panel, click Install to begin the installation.
The Installing Symantec CCS PowerShell Snap-ins panel indicates the progress of the installation.
- In the Finish panel, click Finish to exit the wizard.
Adding CCS PowerShell snap-ins
After installing CCS PowerShell snap-ins, you must ensure that CCS PowerShell snap-ins are added to Windows PowerShell for the particular session.
To add CCS PowerShell snap-ins
- Open the Windows PowerShell command-line interface.
- To get a list of snap-ins that are registered on your computer, execute the command Get-PSSnapin -reg;.
The list of all the registered snap-ins along with CCS snap-ins is displayed.
- Execute the following CCS PowerShell snap-in commands:
- Add-PSSnapin Symantec.CSM.PS.Standards.SnapIn
- Add-PSSnapin Symantec.CSM.PS.Assets.SnapIn
- Add-PSSnapin Symantec.CSM.PS.Tags.SnapIn
- Add-PSSnapin Symantec.CSM.PS.JobManager.SnapIn
- Add-PSSnapin Symantec.CSM.PS.Shared.SnapIn
- Add-PSSnapin Symantec.CSM.PS.Exceptions.SnapIn
- Specify the values for AppserverNameAndPort values and Binding Type that are set for the current session.
- $AppServerNameAndPort = <appservername: port>
- $BindingType = nettcp
- You can start using the CCS PowerShell cmdlets.