지금 지원 담당자와 채팅
지원 담당자와 채팅

Secure Copy 7.6.1 - User Guide

Using Secure Copy Setting copy options Running copy jobs Using the command line Managing licenses Running Update Utilities Troubleshooting PowerShell cmdlets

Using the PowerShell cmdlets

You can run Secure Copy from the PowerShell cmdlets in the SCYPowerShellCore PowerShell module. You can run the File System Statistics Analyzer from the PowerShell cmdlets in the FileSystemStatisticsPowerShell PowerShell module.

To use the Secure Copy PowerShell cmdlets, you need to import the modules, which are located in the Secure Copy 7 installation folder.

Managing copy jobs

Similar to the SecureCopyCmd.exe runs from the command line, the SCYPowerShellCore PowerShell module offers only limited options to script, because it references the features of a saved job by using the name of that job.

NOTE: You must use SCYPowerShellCore PowerShell module from a computer that has a fully licensed version of Secure Copy 7 installed. You cannot copy the SCYPowerShellCore PowerShell module from computer to computer.

The SCYPowerShellCore PowerShell module contains two cmdlets:

Starting a copy job

Specify the jobs database (.ssd file).

Specify the job using Job Name.

Define a new source path.

IMPORTANT: If you add /source to the command, it overrides the source(s) specified in the copy job identified by the job ID or name.

IMPORTANT: If you add /target to the command, it overrides the target(s) specified in the copy job identified by the job ID or name.

This example tests the Default job.

This example runs the Default copy job, overriding the source/target with the specified source/target, which copies My Documents to a backup folder.

Start-SecureCopyJob -Database "C:\Program Files\Quest\Secure Copy 7\SecureCopy.ssd" -JobName Default -Source "c:/CBrown/My Documents" –Target "c:/Backup/My Documents"

Removing a copy job

Specify the jobs database (.ssd file).

Specify the job using Job Name.

This example removes the TestJob copy job.

Remove-SecureCopyJob -Database "C:\Program Files\Quest\Secure Copy 7\SecureCopy.ssd" -JobName TestJob

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택