Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Create zip files using PowerShell Version 2
Prashant Kumar
Apr 21 2017 2:39 PM
411
Hello All,
Can you please suggest, how to create zip files using PowerShell version 2.
we are trying below fuction but not working for sharepoint 2010, we can not upgrade as well the powershell also:
Function CompresstempLogsFiles($servername){
$source = Get-ChildItem -Path $tempFolder
Add-Type -assembly "system.io.compression.filesystem"
Getting an error called assembly could not found, working fine for PowerShell v5.
Thanks
Reply
Upload Source Code
Select only zip and rar file.
Post
Reset
Answers (
1
)
How redirect Domain URL using URL Rewrite in IIS,
synchronizing Excel 2013 sheet with SharePoint Lists