Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Powershell Script hanging sccm

  • Thread starter Thread starter harveybham
  • Start date Start date
  • Replies Replies 2
  • Views Views 2K

harveybham

Well-Known Member
Messages
86
Solutions
1
Reaction score
5
Points
8
Hi All

I have a script which removes all windows 10 bloatware from a machine

I have tested this on several sccm deployments and it seems to work fine, however on a few odd machines sccm gets stuck on this part of the task sequence and does not do anything. The script should take a maximum of 5 mins but sometimes we are seeing machines hanging for 30 mins on this part. In the end we have to start the TS again and it seems to work

In SCCM is there anywhere i can tell it to run this script for a maximum amount of times and then move on to the next bit of the TS?

Thanks
 
What is the version of your ConfigMgr ?

Beginning with version 1802, you can create and run Powershell scripts from the Configuration Manager console.
 
It is 1806

i need this script to be part of my task sequence, it is using the powershell script runner on my task sequence but sometimes it fails
 
Back
Top