Can anything else be done with Write-Host ("Upload of {0} succeeded" -f $transfer.FileName)
Hi,
I'm stuck on a portion of a PowerShell upload script, once the files have been uploaded the following is executed:
Write-Host ("Upload of {0} succeeded" -f $transfer.FileName)
Is there anything else that can be done here instead of write-host? would like to keep the values in a variable, preferably a custom object with Filename property and issuccess property.
Thanks, erik
I'm stuck on a portion of a PowerShell upload script, once the files have been uploaded the following is executed:
Write-Host ("Upload of {0} succeeded" -f $transfer.FileName)
Is there anything else that can be done here instead of write-host? would like to keep the values in a variable, preferably a custom object with Filename property and issuccess property.
Thanks, erik