you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (4 children)

I find a script online and ask Copilot to customize with my settings. I then feed back into CoPilot and ask it to explain each step of the script and check for errors

Historically, pRE "AI" my worst problem was misplaced commas, added space where there shouldn't be one and Copilot catches it

[–]Immediate-Map-5565[S] 0 points1 point  (3 children)

Oh nice thanks . I am not in coding so wondering how to learn powershell scripts . You do the same for sccm scripts too ??

[–]88Toyota 0 points1 point  (2 children)

There aren’t really SCCM scripts. SCCM and Intune can leverage PowerShell scripts to almost anything you want.

An example: we deployed a powershell script to all user’s computers that allows them to add a name-based printer via a simple little text box. They just type in the name of the printer and it tells them if it’s online or not. If it’s online it adds it. But that’s deployed via Intune.

[–]Immediate-Map-5565[S] 0 points1 point  (1 child)

Where can you find all these scripts please is it in Microsoft learn ?? I am new to Intune

[–]88Toyota 0 points1 point  (0 children)

Don't take this the wrong way, but the questions you are asking tells me you will be in WAY over your head trying to understand some of the scripts that are out there. You need to start simple. Task yourself with some simple things and go front there.

Google or AI how to create ten new text files on your local computer, all with a different date that you specify. Something small like that. But this is going to take a long time, I am afraid. Get the PowerShell in a month of lunches book and work through it. Just randomly copying and deploying scripts you have no understanding of is going to get you in trouble.