Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Create zip files using PowerShell Version 2
Prashant Kumar
7y
440
1
Reply
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
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How redirect Domain URL using URL Rewrite in IIS,
synchronizing Excel 2013 sheet with SharePoint Lists