Write-Progress display - How to get rid of it when complete?

This seems straight forward, but I haven't seen/found the answer...
My progress bars hang around too long.  I would like them to go away when complete, but they don't always.
Typically the Write-Progress is within a loop, and it works.  Then imediately after the loop I add "Write-Progress -Complete", but that doesn't seem to do it.
What am I missing?

Not sure, but I don't think so...
There is only one instance of the write-progress cmdlet.  It executes many times within the loop.
Another question comes to mind... what is the -Completed argument for?  Should write-progress be called with that argument to close the display?  Or, when is that argument appropriate?
I see Write-Progress twice:
While( -NOT $Script:RecordSetG.EoF )
{ #...Some code
$intCounterL ++
If( $intRecordCountL -gt 0 )
{ $dblPercentageL = 100*( $intCounterL / $intRecordCountL )
$intPercentageL = [int]$dblPercentageL
$intSecondsLeftL = ( $intRecordCountL - $intCounterL ) / 24
<em><strong>Write-Progress</strong></em> `
-Activity "Building mailbox objects..." `
-PercentComplete $intPercentageL `
-SecondsRemaining $intSecondsLeftL `
-CurrentOperation "$intPercentageL% complete" `
-Status "Please wait."
}#End If
}#WEnd
<em><strong>Write-Progress -Completed</strong></em>
I was suggesting eliminating the second one.

Similar Messages

  • ALV Hierarchy display: How to get rid of the bullets ?

    Hi All,
    I am using Web dypro ALV to display my data, and I use ALV display type hierarchy.  When I expand the parent node in my hierarchy column, I get bullets in my lower level rows in the hierarchy column( this is the standard hierarchical ALV display). Is it possible to override these bullets ? I want to have a link to action element instead of the bullets in that column(for the lower level rows). If this is not possible, then atleast I would like to have an empty column with no text instead of the bullets. Could any one of you please help me ?
    Thanks and Best Regards,
    Viqar Ali.

    Hi jagruti,
    It is very simple to display a Hierarchical ALV. Just do the following:
        lr_column = l_value->if_salv_wd_column_settings~get_column( 'COLUMN_NAME' ).
    For hierarchical column display: Set column as hierarchy column
        lr_column->if_salv_wd_column_hierarchy~set_hierarchy_column( abap_true ).
    Use display type hierarchical for the table.
        l_value->if_salv_wd_table_settings~set_display_type( if_salv_wd_c_table_settings=>display_type_hierarchy ).
    This is sufficient coding to display the ALV as a hierarchy.
    However, my problem is that when I display the ALV as a hierarchy, I get bullets in the hierarchy column in my lower level rows on expanding the parent node. I wanted to know if it is possible to get rid of the bullets.
    Thanks and Best Regards,
    Viqar Ali.

  • How to get rid of Acrobat reader (completely)?

    Hi,
    it's somewhat a stupid question. I got tired of Acrobat reader on x86-64 and decided I would go for the available software on Arch. I uninstalled my bin32-acroread package through yaourt, but after that I still have the option set by default all around my system to open pdf files with Acrobat Reader... How do I get rid of this?
    Thanks!

    You should set an another application for opening application/pdf files. For example
    xdg-mime query default application/pdf
    will probably return AdobeReader.desktop as a result which means that application/pdf mimetypes are assigned to Adobe Reader. If you want to change it to evince, for example, you should do something like
    xdg-mime default evince.desktop application/pdf
    If you do not want evince then you should check for your desired application desktop file under /usr/share/applications.
    EDIT: Sorry, too late
    Last edited by Foucault (2010-07-19 18:16:42)

  • How do get rid of "STARTPAGE24" when I open a new tab

    When I start Firefox Google is my home page but when I open a new tab the page is"Startpage24. My antivirus does not like this and I want to get rid of STARTPAGE24. How do I do this.
    Firefox is my default browser but If I am unable to do this I will be compelled to use another browser.
    Thank you
    PB

    Startpage24 is a browser 3-rd party extension developed by Link64Gmbh . This might be installed due to '''express installation ''' of some of software,which cause to changes the startup page.
    To remove this from your browser do like this :
    Press '''A''' simultaneously while holding '''CTRL and SHIFT''' key(CTRL+SHIFT+A)from keyboard(You will be reached on Addons section). Now from plug-in(if not then search on extension) tab search it and remove it from there.
    This will helps you to remove it completely from your browser. If you didn't found here this one then goto '''Control Panel''' in your computer > '''Programs ''' > '''Uninstall a program''' . from here uninstall it (look for any toolbar ) and follow next steps suggested by the uninstaller.
    Again goto browser and open menu (right top side) > option > Startup >Hompage . Change it to other sites or use empty tab .
    That's it.

  • How to get rid of Conifrmation when closing taskflow-call  run as Dialog

    Whenever I call close the browser window, If I have taskflow-call running as a Dialog I get this javascript confirmation,, which is really annoying, how can I get rid of that?
    taskflow-call is running as Dialog with inline-popup
    Are you sure you want to navigate away from this page?
    There are one or more dependent dialogs open. Navigation from this page will invalidate any open dialogs.
    Press OK to continue, or Cancel to stay on the current page.
    Edited by: user626222 on Sep 21, 2010 11:03 AM

    Hi user,
    I'm not 100% sure but you could check whether af:document uncommittedDataWarning property is set to true. If so, try setting it to false.
    Hope it helps
    Barbara

  • How to get rid of warning when I open safari from "Hunt Toolbar"

    Hi, I installed "Hunt Toolbar" a Torrent search add on for Safari. But I think it was ment only for Windows not Mac. Now every time I open Safari I get the yellow triangle with a ! in it and the message... Community Toolbar: We're sorry, but the Safari browser version you are currently useing does not support the community toolbar. and a Close button. Safari works fine I just want to get rid of this annoying warning whenever I start Safari. Tried reinstalling Safari but same thing. Any help would be greatly appreciated ! Thanks.
    PS: I'll add a screen shot of the the annoying little bugger :-P

    You installed the Conduit spyware. To remove it, select Go ▹ Go to Folder… from the Finder menu bar, then enter the following text in the box that opens:
    ~/Library/Application Support/Conduit
    Delete the selected item, if it exists.
    Now select Go to Folder… again and enter:
    /Library
    From the folder that opens, delete the following items, if they exist. You may be prompted for your login password.
    Application Support/Conduit
    InputManagers/CTLoader
    LaunchAgents/com.conduit.loader.agent.plist
    ScriptingAdditions/ct_scripting.osax
    Close the folder. Now press the key combination shift-command-A. The Applications folder will open. Delete this item from the folder:
    Toolbars
    Close the folder. Log out and log back in.

  • Default display how to get rid of it

    how do i remove short cut items from my default screen on an N95 i.e. there is an icon that is for winlan scanning, one that says calendar entries and one that says internet search and content. the shortcut icons at the top i can live with, but when i have a wall paper picture it is obscured by these other three icons how do i shift em.
    Message Edited by craigharper01 on 29-Apr-2008 07:18 PM

    That's in the manual.
    menu > tools > settings > general > personalisation > standby mode > active standby (set it to 'off')
    Message Edited by grschinon on 29-Apr-2008 09:15 PM
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • How to get rid of ._songs when trans to cell phone?

    I use a microSD to play mp3s on my LG chocolate (I know... i'll get an iPhone one day!).
    The only problem is, if I drag-and-drop 30 songs to the card, when I use it on the phone, I now have 60 items, with 30 of them being duplicate titles with "._"
    in front of the title and no way to delete them. These files do not play, of course. I am thinking they are not really "there."
    I tried loading TinkerTool and showing invisible files on the card,but there was only 1, a DS store(?)file that I deleted. Didn't help. Is there any way to take care of those pesky pseudo-duplicates?

    Anyone?

  • How to get rid of timestamp when taking notes in preview?

    Hi,
    I frequently annotate (using the 'take note' function) when reading pdfs and I would like to get the date and timestamp off of the notes when I am taking them. Is there any setting where I can "disable" the date and timestamp from appearing? So that way, the notes will only have my notes on there and not the date and time at which I took down those notes?
    Thank you!
    Bryan

    you can prevent your name from appearing but not the date (Preview > Preferences > General)
    to remove; select the date, time and delete (trebleclick and press delete)

  • How to get rid of hiss when/noise/static using EarPods on MacBook Air'13 (and other macs)?

    I still haven't found any solution to that and i love my EarPods. That's a big discomfort, especially when listening at low volume, which i do quite often.

    I think what you are hearing is just air flowing around in the room causing a very similar white noise, I noticed this myself when using the "EarPods" on my Macbook Pro. It could also be caused by a damaged Audio port or the Earpods audio jack itself. Twisting the jack while inside the port may help if this is the case, but I would first highly recommend trying to wear the Earpods and then covering your ears and see if the noise goes away, as twisting could potentially cause damage. If covering your ears seems to remove the sound, then it would most likely just be airflow. If neither work and persist, I would then recommend trying to return the Earpods, or getting a new In/Out for your Mac. I am experienced with music production and sound design so if none of these solutions work, please let me know. ~SirFox

  • Please show me how to get rid of yahoo search COMPLETELY! I prefer google to search in the center search bar like I used to have even though it is on the search task bar

    After adding a program yahoo has hijacked the search bar on the center start screen. I still have google in the task bar but would like it to also search on the main search box like it used to. I have looked for hours trying to find a fix but will wait for your response before changing to google chrome, as I am fond of firefox and it's features. I have witnessed many others with the same feeling and wish for the freedom to choose their default browser away from yahoo. It is a step in reverse to not be able to change it !!!

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • How to get rid of flipping when loading image...

    Hi, everybody.
    I 've programed one applet loading and showing images.
    It has two part, one of both is large one, in which the picture will be shown larger.
    Another one is list of pictuers, so when I click one of them, it will be shown in large part.
    It looks like Thumbnail showing.
    The thing is when I click one image, then it is shown, but very fliped.
    In fact I didn't use bufferedImage for large picture due to out of memory.
    So, any suggestion? any help or advice?
    I'am expecting... thank you.
    genette.

    You installed the Conduit spyware. To remove it, select Go ▹ Go to Folder… from the Finder menu bar, then enter the following text in the box that opens:
    ~/Library/Application Support/Conduit
    Delete the selected item, if it exists.
    Now select Go to Folder… again and enter:
    /Library
    From the folder that opens, delete the following items, if they exist. You may be prompted for your login password.
    Application Support/Conduit
    InputManagers/CTLoader
    LaunchAgents/com.conduit.loader.agent.plist
    ScriptingAdditions/ct_scripting.osax
    Close the folder. Now press the key combination shift-command-A. The Applications folder will open. Delete this item from the folder:
    Toolbars
    Close the folder. Log out and log back in.

  • How to get rid of widget when mouse hovers on desktop

    I am having a problem with widget appearing on desktop when mouse hovers on bottom of dock. Down left it has a cross / manage widgets. There are no ticked widgets at all when I go into manage widgets. Please help, it is driving me nuts!

    Pls ignore above post I have now found the answer.

  • How to get rid of the on screen volume display?

    how to get rid of the on screen volume display, it stays on even after reboot. and when i hit the volume button another one shows on top of it.

    Sounds like a key on the keyboard is stuck down. Does it disappear if you disconnect the keyboard?

  • Hello, I have un Ipod classic of 160GB. On my itunes it displays that I have 113gb of other that occupies my memories! what is this other and how I get rid of it?

    Hello, I have un Ipod classic of 160GB. On my itunes it displays that I have 113gb of other that occupies my memories! what is this other and how I get rid of it?

    "Other" is the measure of used space on the iPod not taken up by Audio, Video & Photos. This includes the iPod's library and artwork plus any files you may have copied to your iPod in disk mode. The overhead for the library & artwork data is typically 1-2% of the size of the media, e.g. for 1Gb of Audio & Video expect to have around 15mb of "Other". This information is needed for the iPod's operation and cannot be removed.
    If you have significantly larger amounts of "Other", not related to files you've intentionally placed on the iPod, then these are probably disconnected copies of your media files or iPod libraries left over from failed sync operations. The only way to recover the space is to do a full restore.
    If you have copies of all your media in your iTunes library this isn't a problem, but if you've been manually managing the content then you might need to try to recover the files from it first. See this post by forum regular Zevoneer on transferring files from the iPod to your computer. Some of the tools rely on the iPod having a healthy library however the manual method mentioned towards the end of the post should work regardless.
    tt2

Maybe you are looking for

  • Windows security update error code 80092004

    I am repeatedly trying to update my windows security setting via windows vista update. One important update was not completed with consistent accuracy. its called error code 80092004. The hard disk has plenty of space, the update was 8.5mb, it always

  • I'm not able to connect to Itunes with my iPhone 4s

    I had my iphone now for 3 weeks and am not able to use it to use it on the internet. I have a Bt broadband  and bt.technical help desk in India is charging £30 to make the wireless connection possible.  Bt never charge me to set up a wireless connect

  • Preview dumbed down?

    Heya, for 2 weeks ago i finally upgraded to Snow Leopard. But i've notice that the application Preview don't work as it used to. Such as the drag & drop of multi pictures into a folder don't work anymore. Now i can only do one by one. I also notice t

  • How do you install "Twixtor" excellent Slow Motion plug in for FCP

    Hi, I have the Twixtor FxPlug Pro v5.0.1 but can't get to install it properly. I have seen some posts in the web but for me there is no clue how to install it. The installer installs it in the root of HD folder, but later they say you have to "move"

  • So what are we getting for hanging in there?

    What are you giving your customers for hanging in there waiting for their phones?  It is now the 31st and no word on when my phone will be available.  It is now the 31st (when you promised the phones by).  I have a feeling the day will come and go wi