You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to execute something like this:
copy-item "master_legacy:\media library\MySite" "master:\media library" -TransferOptions 0 -Recursive 1
This would create the MySite folder in the destination and then loop through all the children of MySite and create those items as well including subfolders and other child items.
Currently, this will just create an empty folder named MySite on the target.
The text was updated successfully, but these errors were encountered:
@MichaelBosch
With the following script, I was able to make this happen:
# I manually created Social2 in this exampleCopy-Item-Path "master:\media library\Images\Social\Connector"-Destination "master:\media library\Images\Social2"-Recurse
It should be possible to execute something like this:
copy-item "master_legacy:\media library\MySite" "master:\media library" -TransferOptions 0 -Recursive 1
This would create the MySite folder in the destination and then loop through all the children of MySite and create those items as well including subfolders and other child items.
Currently, this will just create an empty folder named MySite on the target.
The text was updated successfully, but these errors were encountered: