Tuesday, May 10, 2016

PowerShell cmdlet of the Day : Start-Sleep


Sometime, the more we move ahead, the more we start forgetting the basic things. It's in human nature I think or may be in mine :P .
Today when I was working on a PowerShell script, I come along with a cmdlet which I have used a lot in my early scripts.
The forgot cmdlet is "Start-Sleep".
It's hold the script activity for the period defined in it and it move to next line in the script after the define time in lapsed. For example if you set the Start-Sleep -Seconds 10, then it moved to next line after 10 seconds only.
Aman Dhally , Manya Kaur
The usage is simple., type Start-Sleep and then either use -seconds or -Milliseconds parameter and provide the value in number.

Simple, isn't :)

With Regards.
Aman Dhally
If you like, you can follow me on Twitter and Facebook. You can also check my “You Tube channel for PowerShell video tutorials. You can download all of my scripts from “Microsoft TechNet Gallery”.

7 comments:

  1. Within the school room and are exceptional additions to assist enhance our horses basic health. Unluckily there are numerous working towards without any ProHomeworkHelp.com sort of certification and or license. I have attended many horse indicates barrel races and many others.

    ReplyDelete
  2. If you are searching Assignment help.You can suggest them to use different online sources to develop the reading habit in them. Using different online sources can be beneficial for their Online Assignment Help for a long run. Organise each topic in a story form to develop their interest in the class.

    ReplyDelete
  3. Students Assignment Help provides case study writing service with their best UK assignment writers. Our professional writers deliver students with needful help and full and knowledge guidance. Students can avail help from our online assignment help experts anytime. For more details email us at info@studentsassignmenthelp.com

    ReplyDelete
  4. If you are looking for Help with homework services so, you can get reliable and plagiarism free homework support from our homework writing helper. They will write you your assignment at a cheaper rate and complete your assignment before deadline due to these students can score high in college.

    ReplyDelete
  5. if you belong to the category of humanities, but your education involves interaction with technical disciplines, then we can offer real online homework help on
    https://math.homeworkfor.me

    ReplyDelete
  6. Thanks for sharing your information. You improve your assignment academic grade with AllAssignmenthelp Reviews

    ReplyDelete
  7. Allassignmenthelp is a web portal where students get assignment help for all the subjects, with the help of our experts. You will get 100% plagiarism free assignment. Expert’s consultation is also available for students. If they have any query they can contact with our experts anytime.

    ReplyDelete