Closed

Powershell script to synchronize Sharepoint Libraries at logon

Hello I am working on a project where I need to sync SharePoint Libraries onto our users laptops automatically at logon. I am working with Microsoft Intune to deploy these scripts, unfortunately Intune will only try to run the script 3 times.

Here are some resources I've found helpful

Logon script without scheduled task

[login to view URL]

[login to view URL]

Sharepoint Syncing script by Powers-hell

[login to view URL]

[login to view URL]

I also found another Sharepoint syncing script

[login to view URL]

I've tried putting both scripts (Logon and Sharepoint sync) together but it fails because the Logon script needs to run as system/admin and the sharepoint sync needs to be ran as the logon user. If I run the script locally as the user it works.

Here is the requirements on the script that I will need.

- To be ran at logon AS THE USER, although we set Intune to run as system/admin. So we will need to do some User Impersonation.

- It can be a scheduled task if needed but we run into the issue when it is no longer needed we will need a clean up process.

- It must have a wait time of 5 minutes before syncing the sharepoint library

- This will allow the onedrive auto-login process to start and login the user, without onedrive signed in, the sharepoint sync will fail.

- Logging capabilities for troubleshooting any issues.

I can share the script that I am running which is the combination of both scripts.

Skills: Sharepoint, Microsoft

See more: powershell script add users excel file, exchange 2007 powershell script, powershell script users creation, powershell script create multiple users, powershell script create account, hyper wmi powershell script power, powershell script add user excel file, run powershell script sharepoint web part, running powershell script sharepoint webpart, sharepoint webpart run powershell script, powershell script example hello world, sharepoint 2013 installation powershell script, sharepoint 2013 powershell script examples, powershell script to get user logon information, how to enable custom script in sharepoint online using powershell, how to run powershell script in sharepoint online, sharepoint farm backup powershell script, how to run sharepoint powershell script

About the Employer:
( 0 reviews ) Fort Lauderdale, United States

Project ID: #29443373

3 freelancers are bidding on average $180 for this job

akhileshgandhi

Hello, We have gone through your post and are interested in creating powershell script to synchronize Sharepoint Libraries at logon as per your requirements. A brief introduction about us:- We have certified micros More

$140 USD in 7 days
(21 Reviews)
5.6
abidrkhan

hi, I am a Windows powershell professional working on SCCM and inTune. i can provide my expertise to fulfill your requirement. Please connect via chat to discuss this further.

$250 USD in 7 days
(0 Reviews)
0.0
khaliduddin

Hi, I am interested to work on this project. I have previous experience in working with Sharepoint powershell script to identify remove access from libraries when employees leave the organization. Please help with fo More

$150 USD in 10 days
(0 Reviews)
0.0