Jump to content


guyster31

Established Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by guyster31

  1. Hi, I am trying to create a new package using a .sms definition file with PowerShell and I can't find any accurate information as to the correct way to specify the definition file in the cmdlet. the syntax is as follows: New-CMPackage -FromDefinition -PackageDefinitionName <String> -SourceFileType {AlwaysObtainSourceFile | CreateCompressedVersionOfSourceFile} -SourceFolderPath <String> -SourceFolderPathType {LocalFolderOnSiteServer | UncNetworkPath} [-Confirm] [-WhatIf] [<CommonParameters>] Looks fairly straightforward but it always fails complaining about the PackageDfinitionName parameter. Has anyone got any experience with this? Cheers Guy
×
×
  • 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.