Copy page via powershell and not save as template
2015-07-16 16:39
337 查看
By save as template informaton of the page get lost, e.g. permissions. To avoid this, use powershell command:
Use this command to backup a site collection
It's important to use an absolute path as -Path parameter.
Then create a new web application and then run the following command
Use this command to backup a site collection
Backup-SPSite -Identity "http(s)://your-site-collection-url" -Path "C:\backups\your-site-collection-backup.bak"
It's important to use an absolute path as -Path parameter.
Then create a new web application and then run the following command
Restore-SPSite "http(s)://your-new-web-application-url" -Path "C:\backups\your-site-collection-backup.bak"
相关文章推荐
- Copy page via powershell and not save as template 分类: Sharepoint 2015-07-16 16:39 4人阅读 评论(0) 收藏
- bash位置参数的简介
- 学习shell脚本之前的基础知识
- ShellExecute
- linux shell比较两个文件夹下的文本内容
- ruby调用shell问题——找不到自己环境变量中的程序
- 用shell脚本编写区别两个文件夹内文件的不同
- shell对比文件内容脚本分享
- XShell配置Socket5代理
- Powershell查看AD 组成员的变化
- shell-自动部署war包到tomcat
- 整理文件比较的Shell脚本
- linux中shell变量$#,$@,$*,$?,$0,$1,$2的含义解释
- linux shell if 参数
- Git shell
- USER username (Login failed): Invalid shell: '/bin/false'
- bash shell 使用技巧
- windows shell备忘
- How to pass multiple parameters in PowerShell invoke-restmethod
- linux更换阿里云的源的shell脚本