Suljettu

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.

Taidot: Sharepoint, Microsoft

Näytä lisää: 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

Tietoa työnantajasta:
( 0 arvostelua ) Fort Lauderdale, United States

Projektin tunnus: #29443373

3 freelanceria on tarjonnut keskimäärin $180 tähän työhön

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 Lisää

$140 USD 7 päivässä
(21 arvostelua)
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 7 päivässä
(0 arvostelua)
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 Lisää

$150 USD 10 päivässä
(0 arvostelua)
0.0