Powershell script to synchronize Sharepoint Libraries at logon

Fermé Publié le il y a 3 ans Paiement à la livraison
Fermé Paiement à la livraison

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.

Sharepoint Microsoft

Nº du projet : #29443373

À propos du projet

3 propositions Projet à distance Actif il y a 3 ans

3 freelances font une offre moyenne de 180 $ pour ce travail

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 Plus

$140 USD en 7 jours
(21 Commentaires)
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 en 7 jours
(0 Commentaires)
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 Plus

$150 USD en 10 jours
(0 Commentaires)
0.0