2 Replies Latest reply on Aug 20, 2009 1:04 PM by Zsoldier

    Set-OSCustomizationSpec -GuiRunOnce adding more than one entry.

    Zsoldier Expert
    vExpert

       

      So I'm trying to figure out how I can modify all my current scripts by adding some more registry edits via powershell to the guirunonce entry.  I end up with one entry that contains all my reg changes instead of multiple entries as shown in the screenshots.  This is what I'm running.

       

       

      Set-OSCustomizationSpec -spec TEST -GuiRunOnce "reg delete 'HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent' /v AgentGUID /f, reg delete 'HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent' /v MacAddress /f"

       

       

      The MultiLine.jpg shows how the spec looked before running the script.  The Oneline.jpg shows what it looks like after running the cmdlet.  Any ideas?