Skip to content

OSD Scenario

Featured Replies

  • Author

I've tried debug your script in winpe.

After the first operation it fails

$TSEnv = New-Object -COMObject Microsoft.SMS.TSEnvironment

 

New-Object: type not found [Microsoft.SMS.TSEnvironment] make sure that assembly containing this type is loaded

  • Author

I, see, but I have this error message in Task Sequence. What's wrong?

  • Author

Hi, Peter!

I've debuged your scripts and found out that they work only if machine exists no more than in one collction.

If I add machine in more than one collection the variable $CollectionIds become null. Whats wrong?

  • Author

I don't know what's the problem.

When I start script outside ts it returns me errors about TS variable and app ids.

But, if I start the script inside TS it returns me right $ContainerNodeIds, but CollectionIDs is still null.

I save script with all params, but the same issue

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.