I'm having some troubles with the PowerShell cmdlets Export-CMDriverPackage and Export-CMTaskSequence.
In both cases, I follow the syntax in the samples found in the TechNet documentation: Export-CMTaskSequence http://technet.microsoft.com/en-us/library/jj822005(v=sc.20).aspx Export-CMDriverPackage http://technet.microsoft.com/en-us/library/jj850196(v=sc.20).aspx But I get an error indicating that I'm missing a parameter. PS DV1:\> Export-CMTaskSequence -ExportFilePath \\CM12DEV01\SCCMOSD2012_PROD\DV100013_Mike.zip -WithDependence $false -WithContent $false -Name "DEV2012 - Nomad Build Server - Build v 2.0" Export-CMTaskSequence : Value cannot be null. Parameter name: parameterName At line:1 char:1 + Export-CMTaskSequence -ExportFilePath \\CM12DEV01\SCCMOSD2012_PROD\DV100013_M ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (Microsoft.Confi...SequenceCommand:ExportTaskSequenceCommand) [Export-C MTaskSequence], ArgumentNullException + FullyQualifiedErrorId : ResultObjectParamWrongType,Microsoft.ConfigurationManagement.Cmdlets.Osd.Commands.Export TaskSequenceCommand I get the same results when attempting to use the Expoert-CMDriverPackage as well. I have no problems using the Export-CMPackage cmdlet. That works perfectly. I've even tried using the PowerShell ISE and filling in the parameters on the form but that doesn't work either. I get the problem regardless of running PowerShell "As Admin" or not. I don't know what I'm missing. Any ideas? Thanks Mike Marable Application Programmer/Analyst Lead Enterprise Device Engineering and Management MCTS, MCITP, MCSA, MS [Profile<https://www.mcpvirtualbusinesscard.com/VBCServer/MikeMarable/profile>] -------------------------------------------- "The difficult we do at once. The impossible takes a little longer." -US Army Corps of Engineers "It is better to have less thunder in the mouth and more lightning in the hand." -Apache Proverb I will rise when I have fallen. "Unless you try to do something beyond what you have already mastered, you will never grow." -Ralph Waldo Emerson ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues
