forked from MicksITBlogs/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeSMSCacheSize.au3
More file actions
44 lines (44 loc) · 914 Bytes
/
ChangeSMSCacheSize.au3
File metadata and controls
44 lines (44 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
;Change SMS 2003 Cache Size
; Author: Mick Pletcher
; Date: 06 March 2012
;
; Open SMS 2003 CPL
Run( "control C:\Windows\SysWOW64\CCM\smscfgrc.cpl" )
;
; Activate Tabs
WinWait( "Systems Management Properties" )
WinActivate( "Systems Management Properties" )
Send( "{TAB}" )
Sleep( 250 )
Send( "{TAB}" )
Sleep( 250 )
Send( "{TAB}" )
Sleep( 250 )
;
; Go to advanced Window
WinWait( "Systems Management Properties" )
WinActivate( "Systems Management Properties" )
Send( "{RIGHT}" )
Sleep( 250 )
Send( "{RIGHT}" )
Sleep( 250 )
Send( "{RIGHT}" )
Sleep( 250 )
;
; Change Cache Size
WinWait( "Systems Management Properties" )
WinActivate( "Systems Management Properties" )
Send( "{TAB}" )
Sleep( 250 )
Send( "{TAB}" )
Sleep( 250 )
Send( "{TAB}" )
Sleep( 250 )
Send( "{TAB}" )
Sleep( 250 )
Send( "5000" )
Sleep( 250 )
Send( "{Enter}" )
Sleep( 250 )
Send( "{Enter}" )
Sleep( 250 )