How to use MDT Applications for PDQ push requests

Comments

5 comments

  • Patrick Morphy

    Maybe a last tip. You can already check some applications in the list, if you add the Application GUID in customsettings.ini. For example:

    Applications001={1fa07a58-6aaf-4a1c-82c7-06a8a100e09c}
    Applications002={4f7f5190-3f9c-44d5-9f37-0b600a399b0d}

    If you want some applications to be mandatory (so the can't be unchecked):

    MandatoryApplications001={1fa07a58-6aaf-4a1c-82c7-06a8a100e09c}
    MandatoryApplications002={4f7f5190-3f9c-44d5-9f37-0b600a399b0d}

    0
    Comment actions Permalink
  • John Smith

    Hi Patrick,

    I'm in a similar situation, I've been trying to get my MDT Task Sequence Applications to trigger a powershell script as a domain user. 

    I followed your guide but I'm still running into issues. The error code I'm getting is:

    "WinRM cannot process the request. The following error with errorcode 0x8009030e occurred while using Kerberos authentication: A specified logon session does not exist. It may already have been terminated. "

    The user I'm running as is a PDQ Console user. 

    Any help would be much appreciated, thanks!

    0
    Comment actions Permalink
  • jrider

    In order to invoke a command from a non domain computer to a domain computer you will have to negotiate your authentication. Example:

    $PDQServer = PDQServerName #OR IP / FDQN

    $PackageName = "Master Image Deployment" #Name of your package

    $scriptblock = {

        pdqdeploy.exe Deploy -Package $PackageName -Targets $env:Computername #local computer

    }

    Invoke-Command -ComputerName $PDQServer -Credential domain\user -Authentication Negotiate -ScriptBlock $scriptblock

    0
    Comment actions Permalink
  • Patrick Morphy

    Hi jrider, my goal was to have the "Application select page" from the MDT Wizard (ZTIApplications.wsf), and have that executed as a domain user. In the background, all my applications are made from a similar script as yours.

    0
    Comment actions Permalink
  • jrider

    Partrick:
    My mistake. Sorry, I do not work with MDT. 

    0
    Comment actions Permalink

Please sign in to leave a comment.