Jump to content


regan

OSD windows 10 same Ethernet Adapter Script issue

Recommended Posts

first off thanks to creators if the script listen below

 

in a nut shell i want to use the same USB-Ethernet adapter for lots of deployments. The Wifi is connected at the point where it asks me to remove the USB adapter( i can ping my server when the adapter is disconnected ) but power shell isn't my strong point so i'm wondering if there is something in Windows 10 which is effecting the script.

 

Exception calling "TriggerSchedule" : "Not found " RunPowerShellScript 02/09/2015 11:07:14 2712 (0x0A98)
At C:\_SMSTaskSequence\Packages\NOX00112\AssociateWiFi.ps1:52 char:1 RunPowerShellScript 02/09/2015 11:07:14 2712 (0x0A98)
+ $SMSCli.triggerschedule("{00000000-0000-0000-0000-000000000003}") RunPowerShellScript 02/09/2015 11:07:14 2712 (0x0A98)
+ CategoryInfo : NotSpecified: ( :) [], MethodInvocationException RunPowerShellScript 02/09/2015 11:07:14 2712 (0x0A98)
+ FullyQualifiedErrorId : WMIMethodException RunPowerShellScript 02/09/2015 11:07:14 2712 (0x0A98)
Successfully finalized logs to SMS client log directory from C:\WINDOWS\CCM\Logs OSDSetupHook 02/09/2015 11:09:34 2776 (0x0AD8)
to me it looks like its not finding Discovery Inventory but i could be miles off

 

 

 

 

 

https://gallery.technet.microsoft.com/scriptcenter/Enable-multiple-SCCM-OS-861e42bb

smsts.log

Share this post


Link to post
Share on other sites

Hi,

Does the script run in WinPE? There are known issues with the Windows 10 ADK that Powershell script fails in WinPE when PXE booted. could be the reason.

Why not use this method to filter out the USB NIC making it re-usable for all machines. http://blogs.technet.com/b/configurationmgr/archive/2015/08/27/reusing-the-same-nic-for-multiple-pxe-initiated-deployments-in-system-center-configuration-manger-osd.aspx

Regards,

Jörgen

  • Like 1

Share this post


Link to post
Share on other sites

Hi,

Does the script run in WinPE? There are known issues with the Windows 10 ADK that Powershell script fails in WinPE when PXE booted. could be the reason.

Why not use this method to filter out the USB NIC making it re-usable for all machines. http://blogs.technet.com/b/configurationmgr/archive/2015/08/27/reusing-the-same-nic-for-multiple-pxe-initiated-deployments-in-system-center-configuration-manger-osd.aspx

Regards,

Jörgen

Yes it does run in WINPE, so could well be this issue. I will have a look at the post and might have to give that a try, shame its not more automated as ive got lots of devices either way Thanks for the link

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.