【作成中】PowerShell のリンクのまとめ

作成中です。PowerShell 運用のリンクのまとめや作業のログです。

 

PowerShell でのキー入力

qiita.com

note.com

it-study.info

ソフトウェアのフォームに「ユーザID」と「パスワード」を入力してログインするスクリプトの書き方。

mitosuya.net

PowerShellでメッセージボックスを表示する方法。

www.tekizai.net

各種まとめられたリンク集。

qiita.com

PowerShellによるウインドウ操作について

teratail.com

ja.stackoverflow.com

PowerShellでのマウス操作

tarenagashi.hatenablog.jp

it-study.info

 

PowerShell 実行時のセキュリティポリシーの変更

atmarkit.itmedia.co.jp

qiita.com

PoserShell のスクリプトを管理者として実行する

cheshire-wara.com

PowerShellGUI Installer の処理

f-journey.com

 

====================

Add-Type -AssemblyName System.Windows.Forms
#Start-Process -FilePath "C:\Users\user\Downloads\rufus-3.17.exe"
Start-Process -FilePath "C:\Users\user\Downloads\MPASetup_Chrome.exe"
Start-Sleep -m 1000
#Add-Type -AssemblyName System.Windows.Forms

#[System.Windows.Forms.SendKeys]::SendWait("%{TAB}")
Start-Sleep -m 1000

 

[System.Windows.Forms.SendKeys]::SendWait("{TAB}")
Start-Sleep -m 1000    
[System.Windows.Forms.SendKeys]::SendWait("{TAB}")
Start-Sleep -m 1000

[System.Windows.Forms.MessageBox]::Show("コンテキスト1","キャプション",[System.Windows.Forms.MessageBoxButtons]::YesNo)

[System.Windows.Forms.SendKeys]::SendWait("{TAB}")
Start-Sleep -m 1000
[System.Windows.Forms.MessageBox]::Show("コンテキスト2","キャプション",[System.Windows.Forms.MessageBoxButtons]::YesNo)

[System.Windows.Forms.SendKeys]::SendWait("{ENTER}")

====================