質問編集履歴
1
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,10 +14,9 @@
|
|
14
14
|
C:\Windows\System32\ServerManager.exe
|
15
15
|
#サーバーマネージャーが起動するまで待機
|
16
16
|
Start-Sleep 5
|
17
|
-
#アクティブウィンドウ状態の「Windows Admin Centerでのサーバー管理を試してみる」を閉じる
|
18
|
-
|
17
|
+
#アクティブウィンドウ状態の「Windows Admin Centerでのサーバー管理を試してみる」を閉じる [System.Windows.Forms.Sendkeys]::SendWait("%{F4}")
|
19
18
|
#サーバーマネージャーのプロパティを表示させる
|
20
|
-
|
19
|
+
[System.Windows.Forms.Sendkeys]::SendWait("m{DOWN 5}~")
|
21
20
|
|
22
21
|
--------------------------------------
|
23
22
|
間違いの指摘やアドバイスいただけると幸いです。
|