Latest / Microsoft Cloud IT Pro Podcast / Episode 398 – PowerShell and Intune with Harm Veenstra
Transcript
- 0:03Welcome to episode 398
- 0:05of the Microsoft Cloud IT Pro podcast recorded
- 0:08live on 03/25/2025.
- 0:11This is a show about Microsoft three sixty
- 0:13five in Azure from the perspective of IT
- 0:15pros and end users, where we discuss the
- 0:17topic or recent news and how it relates
- 0:20to you. This week, Ben and Scott are
- 0:22both out at the annual MVP summit. And
- 0:24while we can't talk about what we're learning
- 0:26out here, we can talk to other MVPs
- 0:28that are out here with us. So, for
- 0:30this episode, Ben sits down with Harm at
- 0:33Feinstra for a chat. They discuss everything from
- 0:36Harm's experience becoming an MVP to what he's
- 0:39been doing with PowerShell, as well as his
- 0:41work around Microsoft Intune, and how he even
- 0:43uses PowerShell with some of the Intune and
- 0:46other Microsoft three sixty five work that he
- 0:48does.
- 0:50So we're here, MVP summit. Scott and I
- 0:53are actually both out here. We do a
- 0:54few interviews. So Scott's somewhere off gallivanting around
- 0:57with other people, but Harm, you ran into
- 1:00Scott
- 1:01yesterday. Yes, sir. Right? You run a product
- 1:02round table, you were talking with him, and
- 1:04we're like, hey, we should do a podcast
- 1:06interview with Harm while you're here. So Yep.
- 1:08We're sitting down here in one of the
- 1:10buildings at Microsoft and you wanna introduce yourself,
- 1:13tell us a little bit about who you
- 1:14are. Yes. Who is Harm? Who who is
- 1:16Harm? My name is Harm Feynstra, typical Dutch
- 1:19name. I'm a partial MVP since last year.
- 1:22That's the reason why I'm here, my first
- 1:24annual MVP Summit. Congratulations
- 1:26on your first one.
- 1:28Oh, it's been it's it's been a while.
- 1:30It it was not easy getting there, but
- 1:31Yeah.
- 1:32And,
- 1:33in my normal day to day thing, I'm
- 1:36an IT consultant. I work for Next, which
- 1:38is a company in The Netherlands,
- 1:40and we do IT things for larger companies
- 1:44in The Netherlands. Mostly government, hospitals, industry, those
- 1:47kind of things. Okay. Companies that move slow
- 1:49and you have lots of red tape to
- 1:50cut through and Yes. But you also get
- 1:53very interesting things. So, yeah, so again, congratulations
- 1:56on MVP. It'll be We'll talk a little
- 1:58bit more about that, but how's the summit
- 2:00been so far? We're like, I mean technically
- 2:02it's kind of the first
- 2:04day and we can't talk a whole lot
- 2:05about our experience Is that just no content?
- 2:08No. Right. Yeah. No content, but have you
- 2:10been enjoying it so far? Yes. Besides all
- 2:12the sessions that I attended
- 2:14so far,
- 2:15getting to know and see the actual people
- 2:18that you only know online here is great.
- 2:20The community is great. Yep. Right. And that's
- 2:22always the part like this and all the
- 2:24conferences. Like, people are like, well, it's virtual.
- 2:26I can see all the sessions. And it's
- 2:27like It's not the same. I I did
- 2:29that last year
- 2:31because I was,
- 2:32I became an MVP in March.
- 2:34Okay.
- 2:35And I just missed the MVP summit because
- 2:37of that. And I attended a few sessions.
- 2:40Firstly,
- 2:41it's not the same. You don't get to
- 2:42feel from the room. You don't talk to
- 2:44people. You don't have the hallway
- 2:46talks. Yeah. The hallway talks are, like, same
- 2:49thing yesterday. There were some sessions I was
- 2:51gonna go, so we sat down at a
- 2:52table and started talking to some people, and,
- 2:53like, three hours later, we're still sitting at
- 2:56the table. And that's just stuff you don't
- 2:57get in
- 2:59virtual, whether it's this or I would say
- 3:01even conferences. Like, as conferences start coming back,
- 3:04whether it's Ignite, I'm assuming same thing in
- 3:06The Netherlands. Some of the in person stuff
- 3:08has started to be open. Meetup with fans,
- 3:10so yes. Yeah. So what was your experience?
- 3:13Like, this is always an interesting thing in
- 3:15talking to different MVPs is that experience
- 3:18to becoming an MVP. And I know talking
- 3:20to people that aren't MVPs,
- 3:22they sometimes have that question as, what does
- 3:25that path look like?
- 3:26Everybody, I feel like it's been a little
- 3:29different in how they got there, what that
- 3:31process was. So
- 3:32what has that kind of been like going
- 3:34from
- 3:35moving into becoming an MVP?
- 3:37Well, first, you have to really know what
- 3:40it takes to become an MVP. You really
- 3:43gotta put yourself out there. You have to
- 3:45do your community work.
- 3:46You you don't necessarily need to speak at
- 3:48events. That's the thing that hold held me
- 3:50back because, well, I must be a speaker.
- 3:52Otherwise, I won't become an amputee. That's not
- 3:54true. I do a lot for the community,
- 3:56and that's
- 3:57enough for becoming an amputee. You still need
- 3:59to be like somebody like a Microsoft full
- 4:02time employee or another MVP has to,
- 4:05try to make you one. Yep. Yep. Fill
- 4:07up that nomination. The the nomination part. Well
- 4:09yep. But when that's I think it took,
- 4:12like, six months for me to become an
- 4:14MVP because the MVP program changed during
- 4:18during last
- 4:19September, October last year, and it took like
- 4:22six months. So yeah. Got it.
- 4:26Every email that you receive from Microsoft, you
- 4:28think, this is the moment that they'll tell
- 4:30me that my name's been and and no,
- 4:32it's just another status update. It'll take some
- 4:35longer. We're still working on it. Yeah. It'll
- 4:37be Yeah. Yeah. And it's interesting that you
- 4:39bring up the speaker because it is. Like,
- 4:41you and I were actually talking. We had
- 4:42lunch together too, and we're hanging out, and
- 4:44we both, like, do Facebook groups that have
- 4:47a bunch of people in it moderate that,
- 4:48and I know you moderate some other communities
- 4:51where it's not necessarily speaking. That's
- 4:54one avenue, but it can be something like
- 4:56a Facebook group or moderating
- 4:58a community on another website or doing podcasts.
- 5:02You can contribute in so many ways. Yeah.
- 5:04Blogs. I noticed
- 5:06your blog. I went and checked out your
- 5:07blog too, and I'm like, he does way
- 5:09better at writing articles on his blog than
- 5:10I do. My last blog post was like
- 5:12a year ago. Yeah. And I think that's
- 5:14another one is people are MVPs are like,
- 5:15oh, I had a blog all the time.
- 5:17I haven't blogged in like a year, a
- 5:18year and a half. Yeah. Because I do
- 5:20the podcast and I do other community stuff.
- 5:22So So so you have that, but I
- 5:23have my, like, weekly blog. And it sometimes
- 5:25it's difficult. You have to have new subjects
- 5:27every week. Yep. But you get good at
- 5:29it. Does AI help you come up with
- 5:31subjects and insight? No. No. It can help
- 5:32with them all. Yeah. And it it it's
- 5:34all based on things that I see at
- 5:36my customers' locations, things that I automate at
- 5:39home. Yeah. Those are my topics. Yeah. Okay.
- 5:41Real life. Yeah. So why PowerShell?
- 5:45Like, that's an interesting
- 5:47category, and we we were talking a little
- 5:49bit about that too. But how do you,
- 5:51I guess, why PowerShell MVP? And then we
- 5:53can even talk about how you got into
- 5:55PowerShell too. So Yeah. That's one thing we
- 5:57both like and I think we both do
- 5:59different things with it. Yeah. But You can
- 6:00use PowerShell basically for any Microsoft product because
- 6:04it's almost, like, mandatory that you have to
- 6:05have some PowerShell Some different architecture.
- 6:08With it. I think it started with batch
- 6:11DOS batch CMD scripting. Okay. I even skipped
- 6:15the whole VBS part.
- 6:17But,
- 6:18yes, because you need automation. As an IT
- 6:20admin, you need automation, and I don't like
- 6:23clicking stuff, being a click ops kind of
- 6:25guy.
- 6:26So you automate things in. Oh, we have
- 6:28people waving at us. Yeah. More friends. Right?
- 6:31More more people from The Netherlands. Yes.
- 6:33But you start to automate, like, everything because,
- 6:36as as a good admin, you're a lazy
- 6:38admin. You automate Right. You know. There's even
- 6:40that website, like, to go to the lazyadminYeah..com
- 6:42website for Yeah. Yeah, for PowerShell scripts. Yeah.
- 6:45But yes. So so that's where everything started,
- 6:48I guess, because I really like automating stuff
- 6:51being
- 6:52this smarter, more efficient at end. Yeah. Yeah.
- 6:55So that's that's the thing that really drove
- 6:57me to PowerShell1.zero,
- 6:59if you can even call it that because
- 7:01that's that's that's Monet. That's the project name
- 7:03back then. That's that's been a while. I
- 7:05think I did that because was so I'm
- 7:07gonna go back and we'll talk about, like,
- 7:10when you started writing PowerShell. Was that, like,
- 7:1202/2006?
- 7:14Two thousand '6? Yeah. Sometime in there. Yep.
- 7:16Okay. So how did you start writing PowerShell
- 7:19then? What moved you from because before that
- 7:21it was like command line, right? Yep. Right?
- 7:23You did this stuff. You're just calling executables.
- 7:25Yeah. Batch scripts. Yep. Or not the batch,
- 7:28batch files. Right? Yep. Yeah. So how do
- 7:31what caused you to kinda transition into PowerShell?
- 7:33What drew you to PowerShell?
- 7:35Because I tried automating
- 7:38analyzing logs using batch scripting, and it took,
- 7:40like, weeks of getting the right formats. And
- 7:43I tried it in PowerShell
- 7:45even with the early versions, and I was
- 7:47done in fifteen minutes. Okay. So, yeah, I
- 7:50really saw the power of it straight away.
- 7:52Yep. Yeah. Yeah. That's funny. I started so
- 7:55I came SharePoint background. Yep.
- 7:57And that's where I was going in my
- 7:59head when I was thinking about PowerShell one
- 8:00was
- 8:01Yep. PowerShell '2 thousand seven, which beta started
- 8:04coming out 02/2005, '2 thousand '6, had STS
- 8:07ADM. It was their whole command line interface.
- 8:09Yep. And I started writing PowerShell scripts to
- 8:13wrap around the command line interface so that
- 8:15I could put, like, command line interface
- 8:18commands to go work with different SharePoint sites
- 8:20in a loop because writing a loop in
- 8:23PowerShell was way easier than
- 8:25Yeah. So so you've been doing PowerShell for
- 8:29quite a while then. Yeah. How have you
- 8:31seen that change over time? Like, how have
- 8:34you gotten excited about it? We're talking about
- 8:36one. Today, we're at version seven. Version seven.
- 8:39Yeah. Yeah. How has it kinda changed and
- 8:41evolved
- 8:42and even how you've used it over the
- 8:44course of the last or even the sun
- 8:46really will know? We got it. The last,
- 8:48like, six, eight Eighteen eighteen years, nineteen years?
- 8:51Yeah. It's been a
- 8:53well, since PowerShell version two and three four
- 8:57came out and since version five, which is,
- 8:59like, basically included in every Windows version now
- 9:02Yep.
- 9:03It has evolved from just being there for
- 9:05Windows
- 9:06to also being that's PowerShell six core to
- 9:09a multi platform thing. And that's the thing
- 9:11that I really like about Microsoft, not tiny
- 9:13bit of Microsoft
- 9:14advocates
- 9:15here, but, the the whole cross platform thing.
- 9:18You can run it on Linux, you can
- 9:19run it on macOS, you can run it
- 9:20on Windows. Yep.
- 9:22Make make stuff so much easier. It's it's
- 9:24platform independent now. Yeah. What's that so I
- 9:28guess, do you run it on macOS? What
- 9:29do you use? Do you have you switched
- 9:31to macOS or you No. No. No. Still,
- 9:33I'm I'm a I'm a hardcore Windows user.
- 9:34Okay. Yeah.
- 9:36But I used it on Linux, even on
- 9:38my Raspberry Pi at home, for example. You
- 9:40can use it on everything. Yep. Yeah. It
- 9:43was it was fun. Like, I got excited
- 9:45about that too because I've been a Mac
- 9:46guy for years, and if you've listened to
- 9:48the podcast, you know I've
- 9:50kind of You tried to use it to
- 9:52Windows and, like,
- 9:54oh, man. But
- 9:55it is nice to see it and have
- 9:57that ability to use it across all of
- 9:59them. Yeah. You only have to learn it
- 10:01once, and you can reapply it on multiple
- 10:03OS. Exactly. Or even in the cloud, like,
- 10:06you can go to run it in Cloud
- 10:07Shell now, which I think, technically, I think
- 10:10Cloud Shell runs a lot on a Linux
- 10:12back ground. It's like a Linux container that's
- 10:15being started. Yeah. Yeah. So if you're writing
- 10:17PowerShell in the cloud, you're actually using Linux.
- 10:20Yeah. It runs on Linux. Yeah. Like like
- 10:22most of the things in Azure. It does.
- 10:24Yeah. So what are ways you use PowerShell?
- 10:27Like, as you, again, started using a cross
- 10:29platform, day to day work,
- 10:32what are some of those ways that you
- 10:34found that that you really enjoy it, that
- 10:36save you a bunch of time?
- 10:38Mostly the automation part of the the whole
- 10:40use management thing, but also for the migrations
- 10:43that I do, mostly for, like, exchange line
- 10:45migrations.
- 10:47I just script all the best creation stuff
- 10:49out so that I don't need to, like,
- 10:51manually CSV everything or I can be so
- 10:54much more
- 10:56productive and faster in creating stuff than using
- 10:58their normal click ups kind of way. Yeah.
- 11:00Yeah.
- 11:01So you said Exchange migrations? Yep. Also. That's
- 11:04one. What other one? Exchange?
- 11:07A lot of Microsoft three sixty five or
- 11:08even outside of Microsoft three sixty five? Microsoft
- 11:11Graph interfaces for creating stuff in Intune,
- 11:14configuration profiles, platform scripts, those kind of things.
- 11:18Yep.
- 11:19Okay. Do you have a favorite? Like, if
- 11:21do you have a library of all these
- 11:23scripts that you've written that you have? I
- 11:24have my own GitHub repository, and I have
- 11:26the one that I use to provide. One?
- 11:28Do you keep it private so we can't,
- 11:29like, go and get it? Yes. And we
- 11:31also have a company one. Yep.
- 11:33That's really customer related stuff in there. Right.
- 11:36Well, a lot of it's, like, almost intellectual
- 11:38property. Right? Like Yeah. As a company, because
- 11:40I've done the same thing. I'm always on
- 11:42that fence of especially as an MVP. Yeah.
- 11:44Do I create a bunch of scripts that
- 11:45I share externally? Do I try to keep
- 11:47some of them internal? And Yeah. I like
- 11:50sharing with the community, and the community, also
- 11:53shares a lot of stuff with me. So
- 11:54you'll benefit from that, but you can't share
- 11:56every line of code. Yeah. Especially when you
- 11:59really invest hours in customers' time. Yes. So
- 12:03it can't. Right. You can't, like, get paid
- 12:04to write a script for a customer and
- 12:06then just be, oh, here. Here it's it
- 12:08now. Yeah. No. Do you have a favorite
- 12:10like, if you think through your repositories and
- 12:13all the scripts you've written, did you ever
- 12:15write one that you're, like, you were just
- 12:17so proud of? You're like, oh, the script
- 12:18is amazing. This is the best script I've
- 12:20ever written. Or
- 12:22I I think the one that I used
- 12:24for Windows Sandbox, if you know the the
- 12:27the the Windows feature that you can actually
- 12:29run like a
- 12:30disposable Windows VM on Windows, Windows Sandbox. I
- 12:32have not played with that.
- 12:34You can put that on your back wall.
- 12:36I'm a Mac OS. Go on my list.
- 12:37Yeah. You can tell you listened to the
- 12:38package. You're like, just add it to your
- 12:40list. You never do.
- 12:41Yeah. But I can spin up a, a
- 12:43Windows sandbox, connect my Versus code to it,
- 12:45and start running my code in a in
- 12:48a disposable
- 12:49doesn't even matter if I completely screw that
- 12:51VM up.
- 12:53That's the whole process. So it makes my
- 12:54personal development a lot easier. Got it.
- 13:01Do you feel overwhelmed by trying to manage
- 13:03your Office three sixty five environment? Are you
- 13:05facing unexpected issues that disrupt your company's productivity?
- 13:10Is here to help. Much like you take
- 13:12your car to the mechanic that has specialized
- 13:14knowledge on how to best keep your car
- 13:15running, Intelligink helps you with your Microsoft cloud
- 13:18environment because that's their expertise.
- 13:21Intelligink keeps up with the latest updates in
- 13:23the Microsoft cloud to help keep your business
- 13:25running smoothly and ahead of the curve. Whether
- 13:27you are a small organization with just a
- 13:29few users up to an organization of several
- 13:32thousand employees, they want to partner with you
- 13:35to implement and administer your Microsoft cloud technology.
- 13:39Visit them at inteliginc.com/podcast.
- 13:42That's intelligink.com/podcast
- 13:50for more information or to schedule a thirty
- 13:52minute call to get started with them today.
- 13:54Remember, Intelligink focuses on the Microsoft cloud so
- 13:58you can focus on your business.
- 14:01So do you tend to do that then
- 14:03when you're writing these scripts to spin them
- 14:05up in a separate sandbox just to? Yes.
- 14:08And especially to test them because if it
- 14:09runs on my machine, I can't put my
- 14:11machine in production for everybody. So it has
- 14:13to run on on a key machine as
- 14:14well. Yep. So Okay. I always test my
- 14:17code like that. Yep. Got it. So that
- 14:18script to just kind of spin it up,
- 14:20you're like, I'm gonna go develop scripts. So
- 14:21I spin up that sandbox. Yep. And I
- 14:23can connect my Versus code to it and
- 14:25immediately start developing in a Windows VM
- 14:28safely. Okay. Yep. So does that script do
- 14:30all of that then from spinning it up
- 14:32to Yep. Just like installing
- 14:35or installing Visual Studio. Running the script actually
- 14:37starts up the Windows Sandbox installs feature. If
- 14:40it's not already installed,
- 14:41it pushes out the the agent to it.
- 14:43It tries to determine what IP address it
- 14:45has, and it connects official code with using
- 14:47SSH.
- 14:48The whole
- 14:49step step step step. Yeah. Yes. Yep. Alright.
- 14:53Very cool. And any other types of automation
- 14:56that
- 14:57Hyper V management for my lab environment. Yes.
- 15:00Okay. Completely Windows updating all my Windows VMs
- 15:03because
- 15:04it's been a hassle to update, like, 20
- 15:05VMs, keep them up to date, so I
- 15:07automate them. Yep. That that's why you gotta
- 15:09use Azure. What about those Azure VMs and
- 15:12spinning those up?
- 15:13Yeah. But those cost a lot more than
- 15:15what I have on my laptop. Yeah.
- 15:17Yeah.
- 15:18Yeah. I I run a lot of stuff
- 15:20on my laptop just because, oh, I do
- 15:22have my MPM, my partnership,
- 15:24official studio, like, 150
- 15:27a month. Yep. But that's usually not enough.
- 15:29It goes back. Yeah. Yeah. You you run
- 15:31through that money in a hurry. Yeah.
- 15:35What are their lessons learned? Like as you've
- 15:38gone through and worked with PowerShell
- 15:41over the years as you've learned about it,
- 15:45if other people are wanting to get started
- 15:48with PowerShell or like you'd be like, you
- 15:50know what, you wanna start learning it, here's
- 15:53a tip or a trick, here's something that
- 15:55I was struggling with.
- 15:57Like how would you guide people?
- 15:59I used to be Yeah. I mean I
- 16:01would've can't hope a lot of people use
- 16:03PowerShell, but every bit there's always people that
- 16:05are new to it, right? Yeah. If you're,
- 16:07like, really new to it, Microsoft Learn has,
- 16:09like, a a complete course. I think it's
- 16:12AAC 40
- 16:13c something. Okay. You can you can you
- 16:15can find it on Microsoft Learn.
- 16:17This has, like, a really
- 16:19step by step first introduction to PowerShell.
- 16:23And
- 16:24if you're feeling comfortable with that, then you
- 16:27can start writing your scripts. But the things
- 16:29that I did in the past, like hard
- 16:31coding stuff, not making things, like, reusable,
- 16:34that's the thing that you learn just by
- 16:36practicing more. It's not something you develop, like,
- 16:39straight away. Yeah. Writing
- 16:41writing functions, which kind of brings into The
- 16:43next time We talked about this even getting
- 16:46into PowerShell, like, developers.
- 16:48Scott and I always joke about making fun
- 16:50of developers, and we're not developers. But then
- 16:52you write PowerShell, and even some of the
- 16:54conferences and stuff put PowerShell under a development
- 16:57track.
- 16:59What are your thoughts? Scripting, coding, development?
- 17:02How do you I don't see myself as
- 17:04a developer. No. I'm I'm not like a
- 17:05c sharp developer.
- 17:07I'm a I'm a scripter. That's I think
- 17:09that's the correct term for it. I I
- 17:11I use a framework which is already there
- 17:13to my benefit, but I'm not really a
- 17:15programmer. I can't build this from scratch. Okay.
- 17:17No.
- 17:18But you still can go write functions. Right?
- 17:20Do you still need, like, mini programming? Maybe.
- 17:23No.
- 17:24No. But but functions are good. Reusable functions,
- 17:27creating modules. Yep. Yep. I have not done
- 17:29much with creating modules. Have you created a
- 17:31bunch of different modules too? Like I'm I'm
- 17:33I'm working on that because that's a skill
- 17:35that I don't master at at this moment
- 17:37because
- 17:38writing separate scripts and functions is a lot
- 17:40easier than Right. Publishing a
- 17:43mobile module to the PowerShell gallery, that's a
- 17:45thing that I still want to do, but
- 17:47that's something something's holding me back. And perhaps
- 17:49it's scary because more people will see your
- 17:52codes and Uh-huh. Will probably comment on that.
- 17:54Yep.
- 17:55Do you have a module you wanna publish,
- 17:56like, in the back of your mind? You
- 17:58don't have to share which one, but are
- 17:59you like, I wanna create a module to
- 18:00do this? I wrote two or three scripts
- 18:03for Active Directory permissions reporting stuff, which is
- 18:06really easy for the auditing stuff that I
- 18:08also do for customers. Okay. Finding a module
- 18:10for that would be great because it's so
- 18:12much easier to download, install, and use that
- 18:15in a customer's environment in a in a
- 18:17way that you should actually do that. Yeah.
- 18:19Right. Yeah. Very cool. Any other tips or
- 18:22tricks as you think about
- 18:24PowerShell,
- 18:26different
- 18:27I know you talked about there's another vendor
- 18:29that
- 18:30you've done some podcasts for
- 18:33script script runner, I think. Are there other
- 18:35tools that you've used
- 18:37like script runner? I know I am always
- 18:40in Versus Code when I'm writing PowerShell, but
- 18:42any other tools that you've used that you
- 18:44really like when you're
- 18:46writing some of those scripts? ScriptRunner is more
- 18:48like a platform, but for for tool wise
- 18:51things. Yeah. That when I see people starting
- 18:55IEC again,
- 18:57and I've had I always tell them, no.
- 18:59Yes. No. Why? Why? Please use Versus Code
- 19:02because it's it's so much better. And it
- 19:03can do version five and version seven. The
- 19:06IEC only does five. So Yeah. You're you're
- 19:08really limiting yourself. But Fisco is great. PowerShell
- 19:12development is is really great. Yeah. I keep
- 19:14waiting for Microsoft to, like, forcefully remove ISE
- 19:17from
- 19:18all these different Windows versions or because it's
- 19:20still is it it's still in Windows is
- 19:22it in Windows 11? I haven't even looked.
- 19:24Yeah. Yeah. Yes. It's it's still there. If
- 19:27you use things like out grid view, which,
- 19:29like, kind of shows, like, a Windows pane
- 19:30of the things that you selected, it's it's
- 19:32a user's IC. So if you remove that,
- 19:34you also remove that capability from your strips.
- 19:37Yeah. So you have to be aware of
- 19:39that. Technical debt that Microsoft has incurred with
- 19:42some of this stuff. Yeah. It's the most
- 19:43people ask the most questions about why isn't
- 19:45PowerShell seven included in Windows by default. And
- 19:48that's the whole
- 19:50Windows shipping, the amount of work you have
- 19:53to put into it, the dot net framework,
- 19:55dependencies of that. So yeah. Yeah. Maybe we'll
- 19:58see that in future. Maybe I know. I
- 19:59haven't ran into that with as I've been
- 20:02playing more in Windows again and switching some
- 20:04of mine, like, you open up the terminal
- 20:05and I'm like,
- 20:06oh, yeah. PowerShell seven isn't here. I need
- 20:09to go install it, and then I need
- 20:10to switch my terminal to default to PowerShell
- 20:12seven instead of PowerShell five. Yeah. And the
- 20:14the most things that you do probably even
- 20:16still work in five. They do. It's surprising.
- 20:19And I every once in a while, I
- 20:21still actually do run into stuff that doesn't
- 20:23work yet in seven. Okay. I think some
- 20:26of the dependent some of the stuff in
- 20:28core maybe isn't fully there yet. There's some
- 20:30stuff again, being a SharePoint guy, I ran
- 20:33into this, and this was part of my
- 20:35motivation for switching back to Windows
- 20:37is,
- 20:38well, it works on macOS. There are certain
- 20:41modules
- 20:42that rely on certain DLLs or certain Yeah.
- 20:45The whole SharePoint yeah. Right. Certain underlying files
- 20:49that just aren't there on macOS and just
- 20:51they don't work there. Yeah. So that's why
- 20:53you need and using, like, a Windows VM
- 20:55on your Mac kinda yeah.
- 20:57It runs better on a native, Windows laptop.
- 21:00Yeah. It it does. As much as I
- 21:02do miss my Mac, there are certain things
- 21:04as I've scripted that Yeah. They do still
- 21:07just work better on Windows. Yep. So what
- 21:09other stuff with cloud? I know we talked
- 21:11about you do some Intune stuff.
- 21:13When it comes to PowerShell,
- 21:14you talked about some of the stuff with
- 21:16AD, with Hyper V. How have you used
- 21:18PowerShell as it relates to some of the
- 21:21cloud stuff, to Microsoft three sixty five,
- 21:23Intune, Entra?
- 21:25The whole Microsoft Graph thing. Yeah. Yeah. Besides
- 21:28as Graph, it's still
- 21:30somewhat hard to learn and it's there are
- 21:33a lot of commandlets in it. You really
- 21:35need to know to how to navigate through
- 21:37that. But using Microsoft Graph to automate all
- 21:40the intra creation of users, mailboxes,
- 21:43or
- 21:44things that you can do in Intune using
- 21:46Microsoft Graph,
- 21:47getting I use this for reporting a lot.
- 21:49Okay. Yeah. The customers will want reliable reports.
- 21:52They wanna have good overviews and I yeah.
- 21:55There's no way around it. You have to
- 21:56script. Right. Yep. Yeah. Pull it all out.
- 21:58And so once you pull it out, you
- 21:59write your PowerShell script, go pull it all
- 22:01from the graph. Do you tend to just
- 22:02pull it from the graph and export it
- 22:04to a CSV or Excel to do reporting?
- 22:07Or how do you Most customers still like
- 22:11receiving stuff in Excel files. So CSV,
- 22:13okay. But there's an import Excel module from
- 22:15Darkthink
- 22:16that will you can write to Excel straight
- 22:19away or read from Excel if needed. It's
- 22:21it's easier for Yes. Yeah. So is that
- 22:23what you do? Do you export to Excel?
- 22:24You might be more efficient than that. I
- 22:26always I like the import and export to
- 22:28CSV. Yep. So then I just do it
- 22:30to CSV, and then I open it up
- 22:31in Excel and save it as Excel for
- 22:32them. Yeah.
- 22:34And then you do the automation parts yourself
- 22:36being a click off. Yeah.
- 22:38Yeah. But you can export it straight away
- 22:40to Excel. It makes it a lot easier
- 22:42for the managers to receive their reports. Yeah.
- 22:44Yeah. Yeah. I agree. Do you ever build
- 22:46visuals for them too or do you just
- 22:48as a primarily, here's the data. Yeah. Here's
- 22:50the data. Yeah. What visuals do you want?
- 22:52No. I'm I'm I'm not the creative
- 22:54visualizer guy for the for the ultimate reports.
- 22:57No. No.
- 22:58It's it's part of the data. Got it.
- 23:00So what else is Intune?
- 23:02And I'm curious,
- 23:04like, you're a PowerShell MVP, but even talking
- 23:06to Scott when he met you, he's like,
- 23:08hey Ben, you're gonna go talk to Harm.
- 23:10He's PowerShell and Intune. And I'm like, PowerShell
- 23:12and Intune. That's a that's a unique combination
- 23:16of
- 23:16a little specialties. Like usually you're like PowerShell
- 23:19and Windows. One or the other. Yeah. Right.
- 23:21Or even like PowerShell and Microsoft three sixty
- 23:24five, but it's, like, PowerShell and Intune.
- 23:26So how did you kinda get into the
- 23:28Intune spot and stuff, and what do you
- 23:29do with Intune? For our customers, we do
- 23:32Intune
- 23:33things to for the Windows devices, obviously.
- 23:36Okay. And
- 23:37all the packaging detection script, platform scripts,
- 23:41remediation scripts, for example. Yeah. So have you
- 23:44written quite a few remediation scripts then too?
- 23:46Yep. Yep. Because we have to have, like,
- 23:48an e three license for it. So that's
- 23:49the downside of it. So it's not for
- 23:51every customer. Yeah. But remediation is so powerful.
- 23:54Yeah. Being able to
- 23:56hourly during the day or once a day
- 23:59check for it's like a desired state thing
- 24:01you can do if remediation's good. Yep. Yeah.
- 24:04What are definitely powerful
- 24:06do you ever get frustrated that they only
- 24:08run once a day?
- 24:09Yeah. But you you you can let them
- 24:11rerun for every hour Okay. Based on group.
- 24:13So you assign a group and say every
- 24:15hour, every two hours, every three hours, once
- 24:17a day, once a week, once
- 24:19Once ever, run those remediation.
- 24:21What's a Is there a common one, like
- 24:22a certain remediation script that
- 24:25Maybe it's This is right independent. Like, there's
- 24:27a shortcoming in Intune, whether it's installing a
- 24:29certain software or a certain setting that isn't
- 24:32in Intune that you always wanna set. Is
- 24:34there a common remediation script that you've written
- 24:36for Intune that you use a lot that
- 24:38Time zone settings for international customers is one
- 24:41of those. If you have, like, a customer
- 24:43who's in different regions Mhmm.
- 24:46How would you determine what time zone they're
- 24:48in and what the best time zone would
- 24:50be for them. But I automated that in
- 24:52remediation
- 24:53script. So it detects what's my public IP
- 24:55address, what reason is it, what time zone
- 24:57should I have, and it just configures your
- 24:59time zone. And if you move from one
- 25:01time zone to another, it will do that
- 25:03too. Got it. Wow. That's pretty cool. Yep.
- 25:06Is that one available publicly? Yeah. It's on
- 25:08my blog. That one's on your blog? Yeah.
- 25:10Okay. So it will definitely include, like, I'll
- 25:12go get links to your blog too and
- 25:14include links to your blog. So if people
- 25:15wanna go see which scripts you've shared publicly,
- 25:19they can go see that. But also the
- 25:20Intune besides
- 25:22remediation scripts, so you just kind of fell
- 25:24in is that how you kinda get into
- 25:25Intune? Was you were writing scripts and Writing
- 25:28scripts for them. You needed to push them
- 25:29out somewhere? But also as a as a
- 25:31platform because I like controlling Windows devices and
- 25:34that well, it's the is
- 25:36the software for that, of course. And for
- 25:39the whole Intune packaging,
- 25:41deploying settings, it's more powerful using PowerShell scripts
- 25:44for it than the things that you sometimes
- 25:46see in the settings catalog. Yeah. Yep. So
- 25:50this is something I played with. I can't
- 25:51remember why I was doing this.
- 25:53One point in time, I'm curious if you
- 25:55ever tried this, I actually packaged up a
- 25:58PowerShell script Mhmm. As,
- 26:01A Win 32 app? In in yeah. An
- 26:03Intune a Win 32, I was trying to
- 26:04think of. Yeah. I was like A Zoom
- 26:06Win app. Essentially, it's an Intune Win app
- 26:08to push it out that way versus a
- 26:10remediation script. Yeah. That's that's that's the four
- 26:13man's
- 26:14remediation script, I guess. If you don't have
- 26:15a free license, like, this is premium, you
- 26:17can use that. Yeah. It it it also
- 26:19works. You can let let it redetect
- 26:22the whole time and just reinstall the software
- 26:24or the script. Right. Yep. It does work.
- 26:26Yep. It's it was an interesting workaround for
- 26:29something I was trying, and I can't remember
- 26:30if it was a licensing thing or what.
- 26:32But that's one thing, like, those Win 32
- 26:34apps, it's they're not just go install an
- 26:37executable or an MSI, but, really, you can
- 26:39go in and put whatever files you want
- 26:41to in there Yeah. And say, to run
- 26:43the install
- 26:44for this particular Win 32 app, it's a
- 26:47dot p s one file or a dot
- 26:49or a batch file or all kinds of
- 26:51different things. If your detection is good, and
- 26:53it can be the same, like a remediation
- 26:55script, you can even use applicability scripts on
- 26:58it. Okay. Additional requirement scripts
- 27:01so that it will only fire to certain
- 27:03device in a certain state, etcetera.
- 27:06Yeah. There's a lot of powerful stuff that
- 27:09you can do again that I don't think
- 27:11is always readily available. But if you get
- 27:13in and try to
- 27:14hack around with some of the stuff, there's
- 27:16also encounter the situation that you actually need
- 27:18it for. But yeah. Yeah. So what else
- 27:20with Intune? Do you have any other favorite
- 27:22Intune features, things you like to do with
- 27:24Intune?
- 27:25Well, the things from Intune Suite,
- 27:27and I know that IntuneSuite is an additional
- 27:29license yet again,
- 27:31$10.12 dollars, I don't know, per user per
- 27:33month, I guess.
- 27:35It yeah. If I had one okay. If
- 27:37I had not one piece of complaint. But,
- 27:39yeah, all the stuff, it just keeps adding
- 27:41up. But in two suite yes. In engine
- 27:43suite, using the cloud PKI for for example,
- 27:47it's so much easier for kinda
- 27:50radius like Wi Fi authentication, for example. You
- 27:53can use it for that as well. Yep.
- 27:55Yeah. That is These nice add ons. Yep.
- 27:57I haven't started playing with that yet.
- 27:59Another thing from my list.
- 28:01Oh, Harmar, give me more stuff for my
- 28:03list. No. I actually have one of the
- 28:05contractors that does some work for me, he's
- 28:06started playing with that a little bit. Yeah.
- 28:08But it's like, why does Again, I feel
- 28:10like that's a fairly common function. The PKI
- 28:13being able to use that for Or the
- 28:14remote health. Like why do we have to
- 28:16pay
- 28:17an extra $10 a month for that one?
- 28:19Maybe remote health I can see because Yeah.
- 28:21That's if you're not doing that, you're going
- 28:23and paying another third party for some of
- 28:25the remote. Well, important. Privilege management, the kind
- 28:28of privilege identity management for starting certain executables.
- 28:32Yep. I can see a lot of value
- 28:34in that, but it's worth the top I
- 28:36don't know. Yeah. Or either. But there is
- 28:38have you played with the global secure access
- 28:40in Yeah. The Yep. The Yep. Well, technically,
- 28:42that's not even an Intune suite, is it?
- 28:44That's another add on. Yeah. That's that's an
- 28:47intro add on, I guess. Yes. That one
- 28:49is. That's right. That one's an intro add
- 28:50on, not Intune suite. Bundles and add ons
- 28:52and licenses. Every way. It's time for that
- 28:54p what do we or an e, what
- 28:56do we need next? An e seven An
- 28:58e seven or an e three
- 29:00Yeah. Entra license. Yes.
- 29:02Oh, very cool. Anything else? Let me talk
- 29:05PowerShell,
- 29:07MVP,
- 29:08Intune,
- 29:09anything you're anything that you're allowed to talk
- 29:11about that you're excited to To see this
- 29:14week
- 29:15or Not to see this week. We're not
- 29:17gonna talk about anything this week. I'm trying
- 29:19to think because it all jumbles up in
- 29:21our heads, right, of what's been announced. But
- 29:23anything this year that's public knowledge that you're
- 29:26Really looking forward to. Looking forward to,
- 29:29if it's not all jumbled up in your
- 29:31head. Yeah. I'm I'm I'm not sure if
- 29:33there's something that I'm really, really looking forward
- 29:35to because I'm already using most of the
- 29:37stuff that's being there. Got it. Anything with
- 29:40Copilot? Okay. Anything with AI or anything with
- 29:42AI that you'd like to see in this
- 29:45year as it relates to Intel? I'm actually
- 29:47one of the IT admins who doesn't use
- 29:49AI at all Okay. I guess. And that's
- 29:52becoming, like, rare, I guess. I can see
- 29:54it using being used for my documents, for
- 29:56the reporting stuff that I have to do,
- 29:58like, rewrite this whole chapter for me. Yeah.
- 30:00Yes. But using AI for a PowerShell script,
- 30:03for example, no. But that's not something that
- 30:05I use it for. So you don't do
- 30:07you don't even use any of the, like,
- 30:08the GitHub Copilot
- 30:10stuff yet or anything like that? For it.
- 30:12No. But I'm impressed. I will say I
- 30:14am impressed. I've
- 30:16I've started using it. It It's it's a
- 30:18good starter kit. Yeah. But I like to
- 30:20write my write and learn at the same
- 30:22time. Yep. Yeah. Awesome. Very cool. Well, anything
- 30:26else if people wanna get a hold of
- 30:28you, obviously, we'll put a link to your
- 30:30blog in the show notes. Yep. Social media
- 30:33On every platform, I think. Every platform? Yeah.
- 30:35Alright. Well, I'll get all the links from
- 30:37you for that. We'll put them all in
- 30:39the show notes so people wanna connect with
- 30:41you and reach out. Anything else you wanna
- 30:43tell everybody?
- 30:45Last wise words that I wise words you
- 30:47got, your your words of wisdom.
- 30:50Start scripting, not not yesterday, but just today.
- 30:53Yeah. Just Just start writing. Alright. Well, thanks,
- 30:55Arman. Appreciate you sitting there. Thanks for having
- 30:57me. Chad, not a problem.
- 30:58Again, it's fun just sitting here meeting people,
- 31:00being able to do podcast interviews. So Yep.
- 31:03Enjoy the rest of the MVP summit. I'm
- 31:05sure we'll see you around, and thanks again.
- 31:07Appreciate the chat. Thanks.
- 31:11If you enjoyed the podcast, go leave us
- 31:13a five star rating in iTunes. It helps
- 31:15to get the word out so more IT
- 31:17pros can learn about Office three sixty five
- 31:19and Azure.
- 31:20If you have any questions you want us
- 31:22to address on the show or feedback about
- 31:24the show, feel free to reach out via
- 31:26our website, Twitter, or Facebook.
- 31:29Thanks again for listening, and have a great
- 31:31day.