S01E12 - How to Deploy PowerShell Scripts using Microsoft Intune - (I.T)

  Рет қаралды 32,915

Intune Training

Intune Training

Күн бұрын

Пікірлер: 43
@themevrouwdewi
@themevrouwdewi Ай бұрын
Amazing tips once again! Esp when it comes to restarting the Intune service, I never thought about doing that while I was waiting for a script to run successfully or not.
@sapojuajac
@sapojuajac 4 жыл бұрын
thank you guys, gonna pay attention to this channel from now on!
@IntuneVitaDoctrina
@IntuneVitaDoctrina 3 жыл бұрын
CMTrace is licensed with SCCM, are you legally allowed to use CMtrace if you are a 100% Intune shop only?
@fenixdood3836
@fenixdood3836 2 жыл бұрын
Hi,, I have a script that works fine but...the execution policy is by default restricted..Having trouble trying to find the best way for the script to function. How do you circumvent the execution policy in order to run scripts with intune?. Thanks
@drettipassetti
@drettipassetti 2 жыл бұрын
Excellent, great video. Thanks a lot guys
@martijncornelissen2194
@martijncornelissen2194 8 ай бұрын
If i've run a script to " all devices" and I wipe a device. I hand it over to a new worker, will the script run again?
@praveenr85
@praveenr85 3 жыл бұрын
Hi team, in general ,can we run powershell commands for all computer in a company?. on Intune?. I need to uninstall a software on all computers. I do have azure admin portal access. Thanks
@kallabos7538
@kallabos7538 2 жыл бұрын
How can you run a specific PS Script after an Intune app install?
@yashpreetricky
@yashpreetricky 4 жыл бұрын
Thank you very much Guys for your great learning videos and Happy New Year
@nitramremoeb4674
@nitramremoeb4674 4 жыл бұрын
Hi all, i have some issues. The Script will be deployed successfully and is doing it job on the client but in the overview page i see only failures for device and user status. This is for all the scripts i deployed the same. Is there any trick how i can give back a result code that the execution was successful?
@crismarcruz7029
@crismarcruz7029 2 жыл бұрын
Great topic! Have you figured out if the script will rerun and create the file again after removing it manually?
@techaryabhatta3818
@techaryabhatta3818 2 жыл бұрын
Hello Adam, I am trying to push rename computer powershell script for our Getac tablet windows device to rename with serial number with Intune. But somehow it's not working. I tried this as per your video but it's not working. Can you please suggest?
@IntuneTraining
@IntuneTraining 2 жыл бұрын
Which part isn’t working? Have you created the correct CSP?
@dominicbro777
@dominicbro777 Жыл бұрын
Hi, i would like to create a script which will run every day when the user logg off - is this doable with intune?
@IntuneTraining
@IntuneTraining Жыл бұрын
Need to make a scheduled task on the device to do this.
@vjayasekharnaidu
@vjayasekharnaidu 5 жыл бұрын
I have a requirement to provide pop-up to end user through powershell . Manually it's working, but from intune pop-ups were suppressed. Could you help me, is there any settings
@the_real_vondy
@the_real_vondy 4 жыл бұрын
I believe everything run in Intune is run in silent/quiet mode. I think if you specify verbose you may be able to fix that.
@IntuneTraining
@IntuneTraining 4 жыл бұрын
It depends on scoping. If you run as system it's tricky to bring anything to the surface but not impossible. There are a lot of people using a similar framework to send out toast notifications to end users and it works really well -- Ben
@dinocr6783
@dinocr6783 2 жыл бұрын
Could you please update this to the current version of Intune utilizing both Powershell scripts and PS scripts via Win32 apps? They Requirements and Detection script best practices. Also, please go over how to produce return codes to invoke Hard/Soft Reboots. Thanks.
@IntuneTraining
@IntuneTraining 2 жыл бұрын
We have a video on using Proactive Remediations if you haven’t seen it. kzbin.info/www/bejne/jIClq4lsfM-CrKs Using Intune Powershell Scripts, Proactive Remediations and Win32 apps for scripts are all viable options depending on your use case. I use them interchangeably depending on the scenario. Exit codes are pretty straightforward. You simply exit the script with the code you want that matches the exit codes set up in the Win32 app. devblogs.microsoft.com/powershell/windows-powershell-exit-codes/ As for creating the Win32 app, simply use the IntuneWin Creation tool to zip up the script file. Upload as a Win32 app then call the script in the install command line. thenewnumber2.com/2021/10/25/using-intune-win32-apps-instead-of-intune-powershell-scripts/
@timdesmond1327
@timdesmond1327 4 жыл бұрын
Thanks Guys love these videos :)
@jimcopeland4011
@jimcopeland4011 4 жыл бұрын
If I have a script running against a group of devices, and I later add a device to that group will the script re-run on ALL the devices in the group or just the new members? Oddly difficult to find documentation on how the scripts behave in Intune.
@IntuneTraining
@IntuneTraining 4 жыл бұрын
It will only run once per device. If you add new, when the new devices get the policy, they will run the script once but it won't trigger any changes to devices that already have the policy applied and have run the script.
@GVers-dt5ot
@GVers-dt5ot 4 жыл бұрын
Thanks for the great video. Running a script using Intune fails after a user profile has been removed (to save space) and the user logs in again. Thefirst time everything went well. Any idea why it doesn't run after a user profiles has been removed?
@alisawab1286
@alisawab1286 4 жыл бұрын
Hi Guys, great content again. I am running a windows 10 app debloat script and i can see its successful ran but the code didn't fire as aspected. When I run through the force sync options I don't see all the policies that are listed under yours on my VM machine @10.08 in video even though I have assigned them? Thanks.
@j8rtUfh3evz
@j8rtUfh3evz 3 жыл бұрын
Great intro. In sccm, a package runs only once if successful, but removing and readding the deployment allows it to run it again... Would that have fixed the folder recreation issue?
@IntuneTraining
@IntuneTraining 3 жыл бұрын
Probably so. Also, the new proactive remediations feature in Intune is a better way to re-run scripts. Check out our video on the topic.
@ronnyhuybrechts717
@ronnyhuybrechts717 5 жыл бұрын
Hey thanks i created a powershell script to run a script to check for a printer and added him. For the zoom tool you neet to change your zoom percentage to a higher level than 100%. See 14:12
@IntuneTraining
@IntuneTraining 5 жыл бұрын
Yeah. I just need more practice with zoomit and Windows+. It’s just gonna take time. Thanks!
@georgefoster4924
@georgefoster4924 3 жыл бұрын
Hey guys.. great vid! Do you know if there's a way to schedule a script to run once per month through Intune? (without creating a scheduled task on the device)
@IntuneTraining
@IntuneTraining 3 жыл бұрын
Check out our proactive remediation video. It has better options for running scripts on a schedule.
@TomEggermont-ym9rn
@TomEggermont-ym9rn 2 жыл бұрын
cool, but how can you retrieve information, that the powershell script generates?
@IntuneTraining
@IntuneTraining 2 жыл бұрын
Use proactive remediations instead of Powershell scripts now. That feature didn’t exist when we made this video.
@siegemaster1985
@siegemaster1985 4 жыл бұрын
Hi Guys, Thank you for this video and the information. Its unfortunate that the script only runs once.
@IntuneTraining
@IntuneTraining 4 жыл бұрын
Look at proactive remediation scripts. New solution that gets around that single run limitation and a heap more. We did a video on it. It was great. -- Ben
@Ali_2.0
@Ali_2.0 3 жыл бұрын
Hi Guys, Is there any way to convert exe into msi through script or any other way?
@IntuneTraining
@IntuneTraining 3 жыл бұрын
An MSI is a database of steps to install files / change registry keys etc. It's not interchangeable with executable files. -- Ben
@Ali_2.0
@Ali_2.0 3 жыл бұрын
@@IntuneTraining Hi Ben, Thanks for your prompt reply . I understand but I am facing difficulty while using .exe file to create win32 app(which I need to type manual command). How to find this .msi database file for any software. Such as Tuxpaint & ScrachJr. I will really appreciate if you can help.
@srich9382
@srich9382 Жыл бұрын
How to change Intune devices' hostname by using the script. The user doesn't have admin rights
@IntuneTraining
@IntuneTraining Жыл бұрын
For a device rename just use an Intune CSP to ensure devices are properly named www.petervanderwoude.nl/post/rename-a-device-via-windows-10-mdm/
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 56 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 23 МЛН
30. How to Deploy PowerShell Script using Microsoft Intune
9:57
MSFT WebCast
Рет қаралды 20 М.
How to Update Your Devices in Microsoft 365 Using Intune
20:25
Jonathan Edwards
Рет қаралды 22 М.
How To Deploy Win32 Applications in Microsoft Intune
21:10
Harry Lowton
Рет қаралды 84 М.
S01E11 - Intune Client Troubleshooting Basics - (I.T)
27:12
Intune Training
Рет қаралды 21 М.
PowerShell Remoting
37:12
TechThoughts
Рет қаралды 73 М.
S01E28 - How to Configure Policy Sets in Microsoft Intune - (I.T)
20:56
PowerShell Scripts
49:37
TechThoughts
Рет қаралды 83 М.
Crazy easy Intune App Deployment with Pckgr
19:26
Andy Malone MVP
Рет қаралды 39 М.