MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
633 stars 281 forks source link

Mutiple Images - Correct use of -OSImageTSVariableName ? #141

Closed harris1m closed 4 years ago

harris1m commented 5 years ago

Could somone advise the correct use of the -OSImageTSVariableName parameter. Need to use this as have mutiple images (Win7 and 10) in the task sequence. I have tried provding the package ID the WIM but still webservice returns empty OS image. If i run a build with just that WIM in, OS is detected fine. Do you actually set a TS variable in the TS itself?

-OSImageTSVariableName "pr101a23" (this is how i thought i was going to work, package ID of the Win10 wim)

Thank you

EvilerBetty commented 5 years ago

See if this is related and solves your problem. https://github.com/SCConfigMgr/ConfigMgr/issues/130

harris1m commented 5 years ago

All the WIM's i use in the TS are just 1 index. They are created in MDT not SCCM though, cant see why that would have any affect. I will try exporting the WIM into a fresh one, and see if that resolves. Thanks for the reply.