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.
@sapojuajac4 жыл бұрын
thank you guys, gonna pay attention to this channel from now on!
@IntuneVitaDoctrina3 жыл бұрын
CMTrace is licensed with SCCM, are you legally allowed to use CMtrace if you are a 100% Intune shop only?
@fenixdood38362 жыл бұрын
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
@drettipassetti2 жыл бұрын
Excellent, great video. Thanks a lot guys
@martijncornelissen21948 ай бұрын
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?
@praveenr853 жыл бұрын
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
@kallabos75382 жыл бұрын
How can you run a specific PS Script after an Intune app install?
@yashpreetricky4 жыл бұрын
Thank you very much Guys for your great learning videos and Happy New Year
@nitramremoeb46744 жыл бұрын
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?
@crismarcruz70292 жыл бұрын
Great topic! Have you figured out if the script will rerun and create the file again after removing it manually?
@techaryabhatta38182 жыл бұрын
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?
@IntuneTraining2 жыл бұрын
Which part isn’t working? Have you created the correct CSP?
@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 Жыл бұрын
Need to make a scheduled task on the device to do this.
@vjayasekharnaidu5 жыл бұрын
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_vondy4 жыл бұрын
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.
@IntuneTraining4 жыл бұрын
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
@dinocr67832 жыл бұрын
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.
@IntuneTraining2 жыл бұрын
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/
@timdesmond13274 жыл бұрын
Thanks Guys love these videos :)
@jimcopeland40114 жыл бұрын
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.
@IntuneTraining4 жыл бұрын
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-dt5ot4 жыл бұрын
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?
@alisawab12864 жыл бұрын
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.
@j8rtUfh3evz3 жыл бұрын
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?
@IntuneTraining3 жыл бұрын
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.
@ronnyhuybrechts7175 жыл бұрын
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
@IntuneTraining5 жыл бұрын
Yeah. I just need more practice with zoomit and Windows+. It’s just gonna take time. Thanks!
@georgefoster49243 жыл бұрын
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)
@IntuneTraining3 жыл бұрын
Check out our proactive remediation video. It has better options for running scripts on a schedule.
@TomEggermont-ym9rn2 жыл бұрын
cool, but how can you retrieve information, that the powershell script generates?
@IntuneTraining2 жыл бұрын
Use proactive remediations instead of Powershell scripts now. That feature didn’t exist when we made this video.
@siegemaster19854 жыл бұрын
Hi Guys, Thank you for this video and the information. Its unfortunate that the script only runs once.
@IntuneTraining4 жыл бұрын
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.03 жыл бұрын
Hi Guys, Is there any way to convert exe into msi through script or any other way?
@IntuneTraining3 жыл бұрын
An MSI is a database of steps to install files / change registry keys etc. It's not interchangeable with executable files. -- Ben
@Ali_2.03 жыл бұрын
@@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 Жыл бұрын
How to change Intune devices' hostname by using the script. The user doesn't have admin rights
@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/