Microsoft Teams
A Microsoft customizable chat-based workspace.
10,878 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to create media for a Teams Room Deployment but the script provided by Microsoft keeps failing during a specific part. Any ideas?....error below.
Formatting and partitioning the target drive... done.
Copying Windows... done.
Copying the installation image...
Export-WindowsImage : Either the Name or Index parameter is required
At C:\teamsroom\CreateSrsMedia.ps1:1439 char:9
+ Export-WindowsImage -DestinationImagePath "$NewInstallWim" -S ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Export-WindowsImage], PSArgumentException
+ FullyQualifiedErrorId : Export-WindowsImage,Microsoft.Dism.Commands.ExportWindowsImageCommand
Erroring line in PS script:
Export-WindowsImage -DestinationImagePath "$NewInstallWim" -SourceImagePath (Join-Path (Join-Path $WindowsMedia "sources") "install.wim") -SourceName "Windows 10 Enterprise" | Write-Debug