Bonjour,
Depuis la nouvelle version de sharepoint 2013, il est possible d'exporter le contenue une bibliothèque d'un site.
sur le site de microsoft : La cmdlet Export-SPWeb exporte un site, une liste ou une bibliothèque. La possibilité d'exporter depuis une bibliothèque est une fonctionnalité nouvelle dans les SharePoint 2013.
J'ai donc voulu m'y collé : avec la commande suivante:
Export-SPWeb http://*****.*******.fr/sites/site_dev –Path "C:\Users\*****\Desktop\export.cmp" -ItemURL "/test/bob"
test : est un sous site de site_dev
bob : et ma bibliothèque :
voici l'erreur renvoyé en powershell :
Export-SPWeb : The URL provided is invalid. Only valid URLs that are site
collections or sites are allowed to be exported using stsadm.exe.
At line:1 char:1
+ Export-SPWeb http://*****.*******.fr/sites/site_dev -Path
"C:\Users\***\D ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...CmdletExportWeb:
SPCmdletExportWeb) [Export-SPWeb], SPException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletExportWeb
Avez-vous réussi à exporter une bibliothèque et si oui, comment ?
Un grand merci d'avance.
Partager