Skip Ribbon Commands
Skip to main content

Quick Launch

Todd Klindt's home page > Todd Klindt's Office 365 Admin Blog > Posts > PnP Script Sample: Force a User Profile Property Index
August 01
PnP Script Sample: Force a User Profile Property Index

Have you ever updated some properties for a user in SharePoint Online, waited what seemed like a reasonable length of time, then did a search for that user? Have you ever done that and found your old values still there? Gah! Me too! Did you then use Mikael Svenson’s brilliant script to fix that? Yeah, me too. A few times.

I’m also a tinkerer, and I love me some PowerShell. So I cracked open VS Code, put on some aggressive music, loaded up Mikael’s code, and looked around a bit. I found a couple of things that I’d do differently. Not that there’s anything wrong with his code, it’s good stuff. But I wanted to so some stuff like turn his code into a function, so I could add it to an existing module I have. I wanted to move the JSON file from the root of the web to the Shared Documents library, innocent little changes like that. And his code had been written several years ago. PowerShell has matured since then, as coders we’ve matured, so I cleaned a few other little things up while I was in there. It was fun, and it kept me off the streets for a while.

After I got done I reached out to Mikael to see if he was okay with me sharing it with all of you. Mikael, being the stand up guy that he is, was totally good with it. Then I reached out to Paul Bullock about getting it published to the PnP Script Samples. I’ve been meaning to start submitting some stuff to that, but I didn’t have anything I thought was worthy. Paul graciously accepted my script, so now you can all enjoy it too.

While you’re there, check out all the other great script samples. There’s some gold in those hills.

tk

ShortURL: https://www.toddklindt.com/PoshReindexUPS

Comments

Get Lucknow Call Girls In Your Home And Hotel

Call girls in Lucknow are one of the most demanded escort services that you can get. There are several reasons for this, but the main one is that Lucknow is a very big city and there are plenty of people here who are looking for some fun. Whether you are living in Lucknow or just visiting for a short period of time, you will want to know how to get access to these services. In this article, we are going to teach you everything you need to know in order to get Lucknow call girls in your home or hotel.
 on 10/25/2022 2:08 AM

Stumble guys

https://stumble-guys.io is a free download for both Android and iOS, clone or not. The fact that Fall Guys is now free to play appears to have increased its popularity and download volume. Its inclusion in the top 10 of both application stores demonstrates once more how popular it is becoming.
 on 10/27/2022 10:12 PM

Call Girl Service Agency in Mumbai

Hi dear, I'm Sanjana Kaur Call Girl thanks for sharing this type of information Call Girls get the finest fulfillment you will get from me will be the satisfaction that you have ever get in your life from anyone else if you want to really get assured of it so you should have to avail our services in manner of rules here call or whataps me.


https://www.sanjanakaur.com/
https://www.sanjanakaur.com/andheri.html
https://www.sanjanakaur.com/bandra.html
https://www.sanjanakaur.com/juhu.html
https://www.sanjanakaur.com/pune.html
https://www.sanjanakaur.com/thane.html
https://www.sanjanakaur.com/navi-mumbai.html
https://www.sanjanakaur.com/vashi.html
https://www.sanjanakaur.com/mira-road.html
https://www.sanjanakaur.com/powai.html
 on 11/2/2022 1:01 AM

Celebrity Jackets

It has a front zipper closure and consists of a shirt-style lapel collar making it ravishing. In addition, full-length sleeves with coat-style cuffs are provided making it lavishing. It contains two pockets on the waist to carry around your small stuff. Adding this exquisite <a href="https://celebrityjackets.us/resident-evil-4-leon-s-kennedy-brown-leather-jacket/">Leon S Kennedy Brown Leather Jacket</a> to your wardrobe will surely add glam to it. Order it right now!
 on 11/2/2022 8:48 AM

amrita

 on 11/4/2022 2:22 AM

Jaipur Escorts

We greatly appreciate and could benefit from your blog post. I'd like to forward your article to some of my friends.
https://www.callgirlsservicejaipur.com/
https://www.dirtyescortsmodels.in/
https://www.callgiral.in/
https://www.agraescort.co.in/
https://www.babesofcochin.in/
 on 11/4/2022 2:23 AM

Jaipur Escorts Service

 on 11/4/2022 2:23 AM

hi

hi
 on 11/4/2022 7:22 AM

hi

hi
 on 11/4/2022 7:23 AM

online pal

 on 11/13/2022 10:28 PM
1 - 10Next

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Title


Body *


Today's date *

Select a date from the calendar.
Please enter today's date so I know you are a real person

Twitter


Want a message when I reply to your comment? Put your Twitter handle here.

Attachments

 

 SysKit