question

GarimaDas-8345 avatar image
0 Votes"
GarimaDas-8345 asked RahulJindal-2267 answered

Adding Devices to a collection in SCCM using Task Sequence

Hi Professionals,

I am trying to create a Custom Task Sequence in SCCM that would use a PS Script. This PS Script is running on the client machine and is adding that client machine to a collection in SCCM Server. But due to firewall restrictions in the environment, this Script, which is using WinRM, is unable to add devices to the collection.

I would like to know if there is any other method using which we can add the device to a collection using SCCM Task Sequence?

Thanks.

mem-cm-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jason-MSFT avatar image
1 Vote"
Jason-MSFT answered

Don't use WinRM. Use a WMI directly or use a web service. Or, potentially better yet, don't rely on static membership.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RahulJindal-2267 avatar image
1 Vote"
RahulJindal-2267 answered

What is your end goal here?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.