默认分类

n2n edge客户端自动部署

自动下载openvpn并安装taptun

$sourceUrl = "http://www.moonnn.top:82/filerun/tap-windows/OpenVPN-2.6.12-I001-amd64.msi"
$destinationPath = "C:\Users\Public\OpenVPN.msi"
Start-BitsTransfer -Source $sourceUrl -Destination $destinationPath
C:\Users\Public\OpenVPN.msi /passive #无人参与模式 - 只显示进度栏        

下载edge.exe 及配置文件edge.conf 并配置任务计划开机自动运行

$sourceUrl = "http://www.moonnn.top:82/filerun/n2n/edge.exe"
$destinationPath = "C:\Users\Public\edge.exe"
Start-BitsTransfer -Source $sourceUrl -Destination $destinationPath

$sourceUrl = "http://www.moonnn.top:82/filerun/n2n/edge.conf"
$destinationPath = "C:\Users\Public\edge.conf"
Start-BitsTransfer -Source $sourceUrl -Destination $destinationPath

schtasks /create /sc onstart /delay 0002:00 /tn "StartEdgeOnBoot" /tr "C:\Users\Public\edge.exe C:\Users\Public\edge.conf" /ru "SYSTEM" /rl HIGHEST /it
schtasks /run /tn  "StartEdgeOnBoot"

回复 / 取消回复

  1. wjrrlllllp wjrrlllllp
    Sogo 10

    叼茂SEO.bfbikes.com

  2. olkqhpviww olkqhpviww
    Sogo 10

    你的才华让人惊叹,你是我的榜样。 https://www.4006400989.com/qyvideo/47359.html

  3. dpioamskje dpioamskje
    Sogo 10

    《大公民》剧情片高清在线免费观看:https://www.jgz518.com/xingkong/114781.html

  4. bacbaneeuv bacbaneeuv
    Sogo 10

    你的文章充满了创意,真是让人惊喜。 https://www.yonboz.com/video/40887.html

  5. mrzfmflwnt mrzfmflwnt
    Sogo 10

    你的文章充满了创意,真是让人惊喜。 http://www.55baobei.com/Vts1KfTgVH.html

  6. tbiamewohh tbiamewohh
    Sogo 10

    《名利游戏》海外剧高清在线免费观看:https://www.jgz518.com/xingkong/42664.html

  7. nuqvpnozqq nuqvpnozqq
    Sogo 10

    2025年10月新盘 做第一批吃螃蟹的人coinsrore.com
    新车新盘 嘎嘎稳 嘎嘎靠谱coinsrore.com
    新车首发,新的一年,只带想赚米的人coinsrore.com
    新盘 上车集合 留下 我要发发 立马进裙coinsrore.com
    做了几十年的项目 我总结了最好的一个盘(纯干货)coinsrore.com
    新车上路,只带前10个人coinsrore.com
    新盘首开 新盘首开 征召客户!!!coinsrore.com
    新项目准备上线,寻找志同道合的合作伙伴coinsrore.com
    新车即将上线 真正的项目,期待你的参与coinsrore.com
    新盘新项目,不再等待,现在就是最佳上车机会!coinsrore.com
    新盘新盘 这个月刚上新盘 新车第一个吃螃蟹!coinsrore.com

This is just a placeholder img.