SCCM - SET-CMTASKSEQUENCEDEPLOYMENT

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Prakash Murugesan Prakash Murugesan 4 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #39093
    Profile photo of Prakash Murugesan
    Prakash Murugesan
    Participant

    whats wrong with this command, I get item not found exception. not sure what object is missing/need to ne removed.

    Set-CMTaskSequenceDeployment -AllowUseRemoteDistributionPoint $true -TaskSequenceName 'Test' -CollectionName "OSD_WS12DCR2_SF_REF_IMG" -MakeAvailableTo ClientsMediaAndPxe -SendWakeUpPacket $False -UseMeteredNetwork $False -AllowUsersRunIndependently $False -RerunBehavior AlwaysRerunProgram -ShowTaskSequenceProgress $True -SoftwareInstallation $True -SystemRestart $True -DeploymentOption DownloadContentLocallyWhenNeededByRunningTaskSequence -ScheduleEvent AsSoonAsPossible

    #39146
    Profile photo of Jonathan Warnken
    Jonathan Warnken
    Participant

    @Prakash start by just specifying the required parameters and then add in the other options. You can use get-help or msdn https://technet.microsoft.com/en-us/library/jj870947(v=sc.20).aspx

    #39152
    Profile photo of Prakash Murugesan
    Prakash Murugesan
    Participant

    Mandatory Fields

    TaskSequenceName	TRUE
    TaskSequencePackageId	TRUE
    TaskSequenceDeploymentId	TRUE
    InputObject	TRUE
    CollectionName	True True False
    Comment	FALSE
    SendWakeupPacket	FALSE
    UseMeteredNetwork	FALSE
    MakeAvailableTo	FALSE
    DeploymentAvailableDay	FALSE
    DeploymentAvailableTime	FALSE
    DeploymentAvailableDateTime	FALSE
    UseUtcForAvailableSchedule	FALSE
    DeploymentExpireDay	FALSE
    DeploymentExpireTime	FALSE
    DeploymentExpireDateTime	FALSE
    UseUtcForExpireSchedule	FALSE
    ScheduleEvent	FALSE
    Schedule	FALSE
    RerunBehavior	FALSE
    AllowUsersRunIndependently	FALSE
    ShowTaskSequenceProgress	FALSE
    SoftwareInstallation	FALSE
    SystemRestart	FALSE
    PersistOnWriteFilterDevice	FALSE
    InternetOption	FALSE
    DeploymentOption	FALSE
    AllowSharedContent	FALSE
    AllowFallback	FALSE
    CreateAlertOnSuccess	FALSE
    PercentSuccess	FALSE
    AlertDay	FALSE
    AlertTime	FALSE
    AlertDateTime	FALSE
    CreateAlertOnFailure	FALSE
    PercentFailure	FALSE
    PassThru	FALSE
    DisableWildcardHandling	FALSE
    ForceWildcardHandling	FALSE
    Verbose	FALSE
    Debug	FALSE
    ErrorAction	FALSE
    WarningAction	FALSE
    ErrorVariable	FALSE
    WarningVariable	FALSE
    OutVariable	FALSE
    OutBuffer	FALSE
    PipelineVariable	FALSE
    WhatIf	FALSE
    Confirm	FALSE
    

    But MSDN example don't have TaskSequenceDeploymentId, so trying to get exact error detail.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.