I am trying to package up the Configuration Manager Console to help deploy it out through Intune (I know, it is a bit backwards, but I am living in a hybrid/co-management world).
It seems like a relatively easy install, and we did have it set up through SCCM, but I have been slowly trying to move applications over to Intune and am still trying to wrap my head around using PSADT.
So, my install command in the batch file is pretty simple:
"\\sccmserver\Data\Applications\Configuration Manager Console\SCCM\ConfigMgrConsole2203\ConsoleSetup.exe" /q TargetDir="%ProgramFiles%\ConfigMgr Console" DefaultSiteServerName=itserv.fwmrpc.com
I’ve tried a ton of different things and I still can’t seem to get it to take. This is my most recent try:
Start-ADTProcess -FilePath 'ConsoleSetup.exe' -ArgumentList "/s TargetDir=`"envProgramFiles\ConfigMgr Console`" DefaultSiteServerName=`"sccmserver.domain.com`""
I feel like it is something with how I am escaping things and still am trying to get used to getting used to this tool, but any help to get me on the right track would be greatly appreciated!