none
Can't send custom property to storedprocedure. RRS feed

  • Question

  • I have a stored procedure in my MDT database that I would like to send a custom property from my customsettings.ini to as a parameter. 

    My customsettings.ini looks like this:

    [Settings]
    Priority=Default
    Properties=Description

    [Default]
    SQLServer=DeployServer
    Instance=SQLEXPRESS
    Database=MDTDatabase
    Netlib=DBNMPNTW
    SQLShare=SQLLogs$
    Description=compdescription
    StoredProcedure=InsertComputer
    Parameters=MacAddress,Description

    If I run ZTIGather.wsf this is what shows up in the log file. 

    No value specified for parameter '"DESCRIPTION"', stored procedure may return no records.
    About to issue SQL statement: EXECUTE InsertComputer 'F4:4D:30:6A:EB:3E', ''

    How can a pass a custom property as a parameter to a stored procedute?

    Friday, June 9, 2017 10:16 PM