Import-CrmSolution/Import-CrmSolutionAsync currently give no feedback to the user unless they specifically use -Verbose, and Import-CrmSolutionAsync doesn't give any progress indication even when using -Verbose.
Powershell has a native progress indication mechanism, Write-Progress, which can be leveraged to provide the user feedback on solution import progress without filling up their prompt with progress messages.
Import-CrmSolutionAsync could also leverage the same logic as Import-CrmSolution to poll the import for progress if $conn.ImportSolutionToCrmAsync is used rather than manually generating an asyncoperation and submitting. ImportSolutionToCrmAsync outputs both the asyncoperation and importjob ID's, allowing us to poll the status of both to provide useful progress feedback to the user.
Import-CrmSolution/Import-CrmSolutionAsynccurrently give no feedback to the user unless they specifically use-Verbose, andImport-CrmSolutionAsyncdoesn't give any progress indication even when using-Verbose.Powershell has a native progress indication mechanism,
Write-Progress, which can be leveraged to provide the user feedback on solution import progress without filling up their prompt with progress messages.Import-CrmSolutionAsynccould also leverage the same logic asImport-CrmSolutionto poll the import for progress if$conn.ImportSolutionToCrmAsyncis used rather than manually generating anasyncoperationand submitting.ImportSolutionToCrmAsyncoutputs both theasyncoperationandimportjobID's, allowing us to poll the status of both to provide useful progress feedback to the user.