--
Thanks,
Roman
This is a wild guess, since I don't know details about what your script is
showing. :)
"Roman Kuzmin" <Roman...@discussions.microsoft.com> wrote in message
news:EC4EEA62-A2E7-4368...@microsoft.com...
write-progress one one
start-sleep 3
write-progress one one -completed
start-sleep 3
--
--
James Truher [MSFT]
Windows PowerShell Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
"Roman Kuzmin" <Roman...@discussions.microsoft.com> wrote in message
news:EC4EEA62-A2E7-4368...@microsoft.com...
This is my script (don't paste it into console, it should be really a
script, not 2 separate commands):
# Now I need to display progress
1..100 | %{sleep -m 10; write-progress Processing Foo -perc $_}
# Now I don't want to see the last progress message
1..10 | %{sleep 1; Write-Host "I don't want to see progress now $_"}
Any ideas how to hide progress for the second part of the script?
--
Thanks,
Roman
1..100 | %{sleep -m 10; write-progress Processing Foo -perc $_}
write-progress one one -completed
1..10 | %{Write-Host "Don't want to see progress now $_"; sleep 1}
--
Thanks,
Roman
--
--
James Truher [MSFT]
Windows PowerShell Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
"Roman Kuzmin" <z@z.z> wrote in message
news:eFHt10V7...@TK2MSFTNGP05.phx.gbl...