# ———————
# UploadFileToSkyDrive
# RMORRELL 2008
# You will need PowerShell Community Extensions (version 1.1.1.0) to run this
# http://www.codeplex.com/PowerShellCX/Release/ProjectReleases.aspx?ReleaseId=2688
# ———————
param(
[string]$uname="",
[string]$pass="",
[string]$file_release=""
)
# UploadFileToSkyDrive
# RMORRELL 2008
# You will need PowerShell Community Extensions (version 1.1.1.0) to run this
# http://www.codeplex.com/PowerShellCX/Release/ProjectReleases.aspx?ReleaseId=2688
# ———————
param(
[string]$uname="",
[string]$pass="",
[string]$file_release=""
)
# Initial URL Variables
$live_login_url="http://login.live.com/login.srf"
$skydrive_url = "http://skydrive.live.com"
$live_login_url="http://login.live.com/login.srf"
$skydrive_url = "http://skydrive.live.com"
# New IE Session
$ie=new-object -com internetexplorer.application
$ie.navigate($live_login_url)
$ie=new-object -com internetexplorer.application
$ie.navigate($live_login_url)
# Login into Windows Live
while($ie.ReadyState -ne 4) {start-sleep -m 100}
if ($ie.document.getElementById("login") -ne $() )
{
$ie.document.getElementById("login").value=$uname
$ie.document.getElementById("passwd").value = $pass
$ie.document.getElementById("f1").submit()
}
while($ie.ReadyState -ne 4) {start-sleep -m 100}
if ($ie.document.getElementById("login") -ne $() )
{
$ie.document.getElementById("login").value=$uname
$ie.document.getElementById("passwd").value = $pass
$ie.document.getElementById("f1").submit()
}
# Go to SkyDrive
start-sleep -m 5000
while($ie.ReadyState -ne 4) {start-sleep -m 100}
$ie.navigate($skydrive_url)
start-sleep -m 5000
while($ie.ReadyState -ne 4) {start-sleep -m 100}
$ie.navigate($skydrive_url)
# Navigate to Upload page
start-sleep -m 5000
while($ie.ReadyState -ne 4) {start-sleep -m 100}
$ie.navigate($ie.LocationUrl.Replace("home.aspx","upload.aspx/Public?ref=1"))
start-sleep -m 5000
while($ie.ReadyState -ne 4) {start-sleep -m 100}
$ie.navigate($ie.LocationUrl.Replace("home.aspx","upload.aspx/Public?ref=1"))
# Copy file name to field
start-sleep -m 5000
while($ie.ReadyState -ne 4) {start-sleep -m 1000}
start-sleep -m 5000
while($ie.ReadyState -ne 4) {start-sleep -m 1000}
#$ie.visible=$true
while($ie.ReadyState -eq 3) {start-sleep -m 1000}
$ie.document.getElementById("fileUpload1").select()
set-clipboard -text $file_release
while($ie.ReadyState -eq 3) {start-sleep -m 1000}
$ie.document.getElementById("fileUpload1").select()
set-clipboard -text $file_release
# copy command
$ie.ExecWB(13,2)
$ie.ExecWB(13,2)
# Submit file and wait for URL change to browse.aspx, then send an email
$ie.document.getElementById("aspnetForm").submit()
while( $ie.LocationURL.Contains("browse.aspx") -ne $true ) {start-sleep -m 5000}
$ie.document.getElementById("aspnetForm").submit()
while( $ie.LocationURL.Contains("browse.aspx") -ne $true ) {start-sleep -m 5000}
$message = "File uploaded to folder " + $ie.LocationURL
#Close browser
$ie.ExecWB(45,2)
$ie.ExecWB(45,2)
# Send e-mail to developer
Send-SmtpMail -SmtpHost mail.mymailprovider.com -To $uname `
-From $uname -Subject "File updated in SkyDrive folder" `
-Body $message
Send-SmtpMail -SmtpHost mail.mymailprovider.com -To $uname `
-From $uname -Subject "File updated in SkyDrive folder" `
-Body $message
#$creds = get-credential $uname
#$pass = $creds.GetNetworkCredential().Password
#$pass = $creds.GetNetworkCredential().Password
Welcome to enter (wow gold) and (wow power leveling) trading site, (Rolex) are cheap, (World of Warcraft gold) credibility Very good! Quickly into the next single! Key words directly to the website click on transactions! -143521246116038
Welcome to enter (wow gold) and (wow power leveling) trading site, (Rolex) are cheap, (World of Warcraft gold) credibility Very good! Quickly into the next single! Key words directly to the website click on transactions! -245445546699285
Amberdigital Branch,Southern Stars Enterprises Co is specializing in the development and manufacturing of advertising displays, advertising player and LCD displays. Established in 1996, we have explored and developed the international market with professionalism. We have built a widespread marketing network, and set up a capable management team dedicated to provide beyond-expectation services to our customers.
amberdigital Contact Us
Southern Stars Enterprises Co (Hong Kong Office)
Add:3 Fl, No.2, Lane 2, Kam Tsin Tsuen, Sheung Shui, Hong Kong
Tel:+852 2681 4099
Fax:+852 2681 4586
Southern Stars Enterprises Co (Shenzhen Office)
Add:DE, 16/F, Building 2, Nanguo Tower, Sungang Road, Shenzhen, China
Tel:+86 755 2592 9100
Fax:+86 755 2592 7171
E-mail:sstar@netvigator.com
website:www.amberdigital.com.hk
alibaba:amberdigital.en.alibaba.com[b
A friend to buy wow goldTo wow power leveling?On the world’s most concessions to the most reputable sites under the single!
Hi,Do you have second hand lcds, used laptop lcds and used LCD displays? Please go here:www.sstar-hk.com(Southern Stars).We are constantly buying re-usable LCD panels.We recycled LCDs.The re-usable panels go through strictly designed process of categorizing, checking, testing, repairing and refurbishing before they are re-used to make remanufactured LCD displays and TV sets.Due to our recent breakthrough in testing and repairing technology of LCD, we can improve the value for your LCD panels.
website:www.sstar-hk.com[jbagbcebgfaggh]
http://www.watchess.us/jsprings.html http://www.watchess.us/iwc.html http://www.watchess.us/jchevalier.html http://www.watchess.us/jackrusselterrier.html http://www.watchess.us/charleshubert.html http://www.watchess.us/jacobco.html http://www.watchess.us/jacot.html http://www.watchess.us/jaegerlecoultre.html http://www.watchess.us/jarel.html http://www.watchess.us/jaz.html http://www.watchess.us/christiandior.html http://www.watchess.us/jeager.html http://www.watchess.us/jeanmarcel.html http://www.watchess.us/jeanrichard.html http://www.watchess.us/jeep.html http://www.watchess.us/jillstuart.html http://www.watchess.us/jlo.html http://www.watchess.us/jojino.html http://www.watchess.us/joshuasons.html http://www.watchess.us/joya.html http://www.watchess.us/michaelkors.html http://www.watchess.us/millage.html http://www.watchess.us/mido.html http://www.watchess.us/mickeymouse.html http://www.watchess.us/merona.html http://www.watchess.us/messerschmitt.html http://www.watchess.us/metropola.html http://www.watchess.us/kemparts.html http://www.watchess.us/kennethjaylane.html http://www.watchess.us/michelrenee.html http://www.watchess.us/kienzle.html http://www.watchess.us/klauskobec.html http://www.watchess.us/konus.html http://www.watchess.us/kr3w.html http://www.watchess.us/krizia.html http://www.watchess.us/lerickson.html http://www.watchess.us/lamb.html http://www.watchess.us/lacrosse.html http://www.watchess.us/lavie.html http://www.watchess.us/uzi.html http://www.watchess.us/vabene.html http://www.watchess.us/vacheronconstantin.html http://www.watchess.us/valentino.html http://www.watchess.us/labrador.html http://www.watchess.us/laco.html http://www.watchess.us/lambretta.html http://www.watchess.us/lancaster.html http://www.watchess.us/landstroms.html http://www.watchess.us/lanvin.html http://www.watchess.us/larex.html http://www.watchess.us/levian.html http://www.watchess.us/lego.html http://www.watchess.us/lightningtime.html http://www.watchess.us/lizziemcquire.html http://www.watchess.us/locman.html http://www.watchess.us/lorenzopozzan.html http://www.watchess.us/louiserard.html http://www.watchess.us/luckybrand.html http://www.watchess.us/luiscardini.html http://www.watchess.us/mhbertucci.html http://www.watchess.us/magico.html http://www.watchess.us/magnifier.html http://www.watchess.us/magnus.html http://www.watchess.us/majesti.html http://www.watchess.us/mango.html http://www.watchess.us/manhattan.html http://www.watchess.us/marcjacobs.html http://www.watchess.us/marceldrucker.html http://www.watchess.us/marciano.html http://www.watchess.us/marcopolo.html http://www.watchess.us/marvel.html http://www.watchess.us/marvin.html http://www.watchess.us/masterpiecejewels.html http://www.watchess.us/mauricelacroix.html http://www.watchess.us/medana.html http://www.watchess.us/zenobasel.html http://www.watchess.us/zippo.html http://www.watchess.us/zodiac.html http://www.watchess.us/zoppini.html http://www.watchess.us/justbling.html http://www.watchess.us/kbros.html http://www.watchess.us/kalashnikov.html http://www.watchess.us/juicycouture.html http://www.watchess.us/kiber.html http://www.watchess.us/junkers.html http://www.watchess.us/juliuslegend.html http://www.watchess.us/julieleah.html