Hi All,

I do have question regarding to select specific files from source to destination file copy.

below is my code to achieve this using powershell.


#connect to center
$test = add-pssnapin r1_ps_api
$R1session = Get-R1Session
$R1session.connect("10.23.9.30","testacc","test"," test","",$false,"")
echo "edge_override"
$qual=" -name=sen_test -edge=10.23.9.30 -user=testacc -edge_password=test -type=replication -source_dir=\\10.23.9.30\To_QA\source -target_directory=\\10.23.9.30\To_QA\destination"
$R1session.Submit($qual)
echo "edge_2"
$R1session.disconnect()

in this code, what i need to do to copy files only has file name starts with se* from source path.

Thanks!!