Export-CMTaskSequence exports content of dependencies and is ignoring WithContent parameter RRS feed

  • Question

  • I'm try to build a script to export my task sequence with dependencies without the content.

    But when I use this command line

    get-CMTaskSequence -Name "$Tsname" | Export-CMTaskSequence -WithDependence $true -WithContent $false -ExportFilePath "$rootExportPath$"

    The folder "$rootExportPath$TSName_files" is still created. How can I really export the task sequence and the package/application information only. Does anyone know how these parameters really work, or is this by design?

    Note: I have created a seperate script to copy all content to the $rootExportPath$TSName folder in a way that the structure remains.

    Monday, December 1, 2014 4:16 PM


All replies