I need to serialize some Items with Sitecore Powershell Script.
I need to:
C:/serialisation/1) and move the results in the serialization folder to this folderCan someone write how the powershell script will look like? Links to resources about serialization with Powershell will also be appreciated.
I suppose you know about Sitecore Powershell Extensions.
Serialization of the item:
# Serialization
Get-Item -Path "master:\templates\spe\" | Serialize-Item -Recurse
Copy files:
#copy
Copy-Item -Path C:\fso\20110314.log -Destination c:\fsox\mylog.log
And you can find an explanation in this video Sitecore PowerShell Extensions - Packages and Serialization.
And here is a blog post explaining serialization and deserialization with Sitecore Powershell Extensions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With