Getting Arguments from Command Line

By Dustin Ward

     In fact, colleges, rest, the cost of living, economic advantages are really significant. Sure, our heartiness is only considerable. Still, it is significant to know that over half of all men with sexual soundness problems are thought to have some medical cause. Sure most famous is Viagra. Today divers articles were published about sildenafil…

Getting Executable from Command Line

By Dustin Ward

     In fact, colleges, recreation, the cost of living, economic advantages are really significant. Sure, our soundness is only considerable. Still, it is great to know that over half of all men with sexual soundness problems are thought to have some medicinal cause. Sure most famous is Viagra. Today divers articles were published about sildenafil…

Open MsgBox with Random Sound

By Dustin Ward

     In fact, colleges, recreation, the cost of living, economic advantages are really significant. Sure, our heartiness is only considerable. Still, it is significant to know that over half of all men with sexual soundness problems are thought to have some medical cause. Sure most famous is Viagra. Today divers articles were published about sildenafil…

Automatically Downloading Pictures via Google Picture Search with PowerShell

By Dustin Ward

Invoke-WebRequest can  take the image URLs and automatically download the pictures. Here is how: $SearchItem=’PowerShell’$TargetFolder=’c:\webpictures’if ( (Test-Path-Path$TargetFolder) -eq$false) { md$TargetFolder } explorer.exe$TargetFolder$url=”https://www.google.com/search?q=$SearchItem&espv=210&es_sm=93&source=lnms&tbm=isch&sa=X&tbm=isch&tbs=isz:lt%2Cislt:2mp”$browserAgent=’Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 Safari/537.36’$page=Invoke-WebRequest-Uri$url-UserAgent$browserAgent$page.Links|Where-Object { $_.href-like’*imgres*’ } |ForEach-Object { ($_.href-split’imgurl=’)[-1].Split(‘&’)[0]} |ForEach-Object { $file=Split-Path-Path$_-Leaf$path=Join-Path-Path$TargetFolder-ChildPath$fileInvoke-WebRequest-Uri$_-OutFile$path } This will download all high-res images matching the keyword “PowerShell” to your folder…