This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| windows:windowsserver:scom:operationsconsole [2016/02/05 17:50] – lunetikk | windows:windowsserver:scom:operationsconsole [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| - | ==== How to open up the Console ==== | + | ==== How to open up the SCOM Console ==== |
| Create a link to the console executeable, | Create a link to the console executeable, | ||
| Line 19: | Line 19: | ||
| You can also add to the code to close the script as soon as someone moves the mouse or click anything. This way you cant paste it into a notepad or anything... | You can also add to the code to close the script as soon as someone moves the mouse or click anything. This way you cant paste it into a notepad or anything... | ||
| - | < | + | < |
| + | #cs ---------------------------------------------------------------------------- | ||
| + | |||
| + | | ||
| + | | ||
| + | |||
| + | | ||
| + | Enter credentials to log into SCOM | ||
| + | |||
| + | #ce ---------------------------------------------------------------------------- | ||
| + | |||
| + | AutoItSetOption ( " | ||
| + | |||
| + | $Checktitle_de = " | ||
| + | $Checktitle_en = "Enter Credentials" | ||
| while 1 | while 1 | ||
| - | Sleep(5000) | + | |
| + | Sleep(4000) | ||
| + | |||
| + | If WinExists ( $Checktitle_de ) Then | ||
| + | |||
| + | | ||
| + | |||
| + | ElseIf WinExists ( $Checktitle_en ) Then | ||
| + | |||
| + | | ||
| + | |||
| + | Else | ||
| + | EndIf | ||
| + | |||
| + | Sleep(1000) | ||
| $Title = " | $Title = " | ||
| $Title = WinGetTitle("" | $Title = WinGetTitle("" | ||
| - | $Checktitle_de = " | + | |
| - | $Checktitle_en = "Enter Credentials" | + | |
| If $Title = $Checktitle_de OR $Title = $Checktitle_en Then | If $Title = $Checktitle_de OR $Title = $Checktitle_en Then | ||
| - | Sleep(500) | ||
| - | Send(" | ||
| - | Sleep(200) | ||
| - | Send(" | ||
| - | Sleep(200) | ||
| - | Send(" | ||
| - | Sleep(200) | ||
| - | Send(" | ||
| - | Sleep(200) | ||
| - | Send(" | ||
| - | Sleep(200) | ||
| - | Send(" | ||
| - | Exit 0 | ||
| - | Else | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | Exit 0 | ||
| + | |||
| + | Else | ||
| EndIf | EndIf | ||
| WEnd | WEnd | ||
| </ | </ | ||