How to download Files from Codeplex.org (by (displaying and) confirming the License) with PowerShell


hi!

know way, how download files codeplex.org (by (displaying and) confirming license) powershell

have tryed hyper-dumb way no luck!

function verydumbdownloadfromweb($downloadurl) {                    # client download module stuff      $client = (new-object net.webclient)      $client.proxy.credentials = [system.net.credentialcache]::defaultnetworkcredentials      $client.downloadfile($downloadurl, "c:\temp\nuget.exe")        }    verydumbdownloadfromweb 'http://nuget.codeplex.com/releases/58939/download/222685'


please click “mark answer” if post answers question , click vote help if post helps you.
bitte markiere hilfreiche beiträge von mir als hilfreich und beiträge die deine frage ganz oder teilweise beantwortet haben als antwort.
powershell blog http://www.admin-source.info
[string](0..21|%{[char][int]([int]("{0:d}" -f 0x28)+('755964655967-86965747271757624-8796158066061').substring(($_*2),2))})-replace' '

hello !
@ first thank very kind support! have done more expected, wow! thank you!
said before, goal use native powershell (with .net). don’t want use ie automation.
have done own ie automation experience live , know tricky , full of pitfalls, @ end fail of time (new ie version new game).
if scroll down doug's blog post have done question him, before started thread ;-))
yes, disappointed codeplex api , odata stuff are  read only.  :-(
so, if nobody comes solution around corner here, have digg own….
try write powershell module manager. (download, convert, install, repository modules)
there movement right in module manager scene.
microsoft has pulished script explorer powershell ise.
@ github.com there projects (with/without nuget). best psget https://github.com/psget/psget
, try myself (early planning stage) https://github.com/kriegel/moget/wiki/moget-powershell-module-manager-home

please click “mark answer” if post answers question , click vote help if post helps you.
bitte markiere hilfreiche beiträge von mir als hilfreich und beiträge die deine frage ganz oder teilweise beantwortet haben als antwort.
powershell blog http://www.admin-source.info
[string](0..21|%{[char][int]([int]("{0:d}" -f 0x28)+('755964655967-86965747271757624-8796158066061').substring(($_*2),2))})-replace' '



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file