Reputation: 2590
In PowerShell, when one uses Out-Gridview
while running from the console in powershell.exe, it displays a new forms-style window. When running scripts in PowerShell ISE that call things like Write-Progress
, they render rather differently in a new window with Windows graphical elements rather than with their usual console displays.
Is it possible to call cmdlets like Write-Progress
in the console and get them to open ISE-style displays anyway like Out-Gridview
always does? Ultimately, I'd like to be able to benefit from the free UI elements meant for ISE without having to go manually create form objects, etc.
Upvotes: 0
Views: 169
Reputation: 28194
Write-Progress
adapts its output for the host it's running in. AFAICT it's not possible to change that behavior.
Upvotes: 1