Skip to content

OSD windows 10 same Ethernet Adapter Script issue

Featured Replies

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

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

  • Author

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

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.