Jump to content


Zlodey

OSD Scenario

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

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.