Comments on: How to Deploy PowerShell Script using Intune (MEM) https://www.prajwaldesai.com/deploy-powershell-script-using-intune-mem/ SCCM | ConfigMgr | Intune | Windows 11 | Azure Mon, 23 Oct 2023 14:17:21 +0000 hourly 1 https://wordpress.org/?v=6.4.1 By: Jan https://www.prajwaldesai.com/deploy-powershell-script-using-intune-mem/#comment-56122 https://www.prajwaldesai.com/?p=213307#comment-56122 In reply to Prajwal Desai.

I do everything exactly like you but intune dont assign the script the in the group includet devices. Did you have any tips ?

]]>
By: Prajwal Desai https://www.prajwaldesai.com/deploy-powershell-script-using-intune-mem/#comment-43605 https://www.prajwaldesai.com/?p=213307#comment-43605 In reply to vivek.

You are always welcome to point out the mistakes that you find. I will go through them and correct it if they are valid.

]]>
By: vivek https://www.prajwaldesai.com/deploy-powershell-script-using-intune-mem/#comment-43604 https://www.prajwaldesai.com/?p=213307#comment-43604 Hello sir,

i have been follwing your blogs to learn SCCM and Intune, but just for review i was confused intially using blogs and after working on things on my own i found that your blogs have some contradictory solutions

please take this as feed back i have learned much as a basic start for this technology

Thanls

]]>
By: JJ https://www.prajwaldesai.com/deploy-powershell-script-using-intune-mem/#comment-40595 https://www.prajwaldesai.com/?p=213307#comment-40595 With these settings and in script added -force will work:
Run this script using the logged on credentials – Yes
Enforce script signature check – No
Run script in 64 bit PowerShell Host – No

Included groups – All Users

]]>
By: Jason L https://www.prajwaldesai.com/deploy-powershell-script-using-intune-mem/#comment-38746 https://www.prajwaldesai.com/?p=213307#comment-38746 In reply to Kevin Flynn.

Try adding -force at the end of each line in powershell when configuring registry.

]]>
By: Sundaramoorthi Bose https://www.prajwaldesai.com/deploy-powershell-script-using-intune-mem/#comment-37577 https://www.prajwaldesai.com/?p=213307#comment-37577 How download or pull the Installer script from Intune portal

]]>
By: João Vieira https://www.prajwaldesai.com/deploy-powershell-script-using-intune-mem/#comment-34519 https://www.prajwaldesai.com/?p=213307#comment-34519 Is there any justification for this change?

Before:
“The Intune management extension agent checks with Intune once every hour and after every reboot for any new scripts or
changes.”

Now:
“The Intune management extension agent checks after every reboot for any new scripts or changes.”

]]>
By: Kevin Flynn https://www.prajwaldesai.com/deploy-powershell-script-using-intune-mem/#comment-30036 https://www.prajwaldesai.com/?p=213307#comment-30036 In reply to Jason Green.

Having the same issue. Running the script manually works 100%, but pushing it through deployment does nothing even though the status for the test machines show Successful.

]]>
By: Jason Green https://www.prajwaldesai.com/deploy-powershell-script-using-intune-mem/#comment-29800 https://www.prajwaldesai.com/?p=213307#comment-29800 Hi Prajwal, I have followed your instructions to the letter but the PS file will not deploy from Intune even though it says it’s successful, I have tested it locally on my device and it works fine but will not push through from Intune. Do you know why that might be? Thanks Jason

]]>