• I know this thread is old, but the script looks very viable. I am getting an error when test running the script:

    I am using standalone server:

    The config file is being saved to the same location as the setup.exe file

    Out-Clipboard : The term 'Out-Clipboard' is not recognized as the name of a cmdlet, function, script file, or operable program.

    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

    At C:\Users\ziazmere\Desktop\PSConfigfile.ps1:836 char:22

    + $ExecCmdPrintOut | Out-Clipboard

    + ~~~~~~~~~~~~~

    + CategoryInfo : ObjectNotFound: (Out-Clipboard:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException