Skip to content

Commit 161a9d8

Browse files
committed
Update Skyward SMS 2.0 Queries.ps1
- Added Session Cleanup Options - Configured PacketSize for connection string
1 parent 89426e2 commit 161a9d8

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

Skyward SMS 2.0 Queries.ps1

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# version: 1.1
12
$Log_MaskableKeys = @(
23
'password'
34
)
@@ -113,6 +114,20 @@ function Idm-SystemInfo {
113114
type = 'checkbox'
114115
label = 'Enable KA'
115116
value = $true
117+
}
118+
@{
119+
name = 'nr_of_sessions'
120+
type = 'textbox'
121+
label = 'Max. number of simultaneous sessions'
122+
tooltip = ''
123+
value = 1
124+
}
125+
@{
126+
name = 'sessions_idle_timeout'
127+
type = 'textbox'
128+
label = 'Session cleanup idle time (minutes)'
129+
tooltip = ''
130+
value = 1
116131
}
117132
@{
118133
name = 'table_1_name'
@@ -619,7 +634,7 @@ function Open-ProgressDBConnection {
619634

620635
$connection_params = ConvertFrom-Json2 $ConnectionParams
621636

622-
$connection_string = "DRIVER={Progress OpenEdge $($connection_params.driver_version) driver};HOST=$($connection_params.host_name);PORT=$($connection_params.port);DB=$($connection_params.database);UID=$($connection_params.user);PWD=$($connection_params.password);DIL=$($connection_params.isolation_mode);AS=$($connection_params.array_size)"
637+
$connection_string = "DRIVER={Progress OpenEdge $($connection_params.driver_version) driver};HOST=$($connection_params.host_name);PORT=$($connection_params.port);DB=$($connection_params.database);UID=$($connection_params.user);PWD=$($connection_params.password);DIL=$($connection_params.isolation_mode);AS=$($connection_params.array_size);Packet Size=512"
623638

624639
if($connection_params.enableETWT) { $connectionString += "ETWT=1;" }
625640
if($connection_params.enableUWCT) { $connectionString += "UWCT=1;" }

0 commit comments

Comments
 (0)