Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
resinfo-gt
swmb
resinfo-swmb
Commits
b5d4873f
Commit
b5d4873f
authored
May 11, 2022
by
Gabriel Moreau
Browse files
Add log file
parent
56aa88b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
Modules/SWMB/Experimental.psm1
Modules/SWMB/Experimental.psm1
+6
-0
dists/uninstall-kaspersky/README.md
dists/uninstall-kaspersky/README.md
+7
-6
No files found.
Modules/SWMB/Experimental.psm1
View file @
b5d4873f
...
...
@@ -108,6 +108,9 @@ Function TweakUninstallKasperskyEndpoint { # RESINFO
"/norestart"
"/qn"
)
If
(
$
(
$
Global
:
SWMB_Custom
.
KeslogFile
))
{
$MSIEndpointArguments
+=
"/l*vx
`"
$(
$
Global
:
SWMB_Custom
.
KeslogFile
)
`"
"
}
Start-Process
"msiexec.exe"
-ArgumentList
$MSIEndpointArguments
-Wait
-NoNewWindow
Write-Host
"Uninstall finish"
}
Else
{
...
...
@@ -137,6 +140,9 @@ Function TweakUninstallKasperskyEndpoint { # RESINFO
"KLUNINSTPASSWD=
$AgentHexPassword
"
"/qn"
)
If
(
$
(
$
Global
:
SWMB_Custom
.
KeslogFile
))
{
$MSIAgentArguments
+=
"/l*vx+
`"
$(
$
Global
:
SWMB_Custom
.
KeslogFile
)
`"
"
}
Start-Process
"msiexec.exe"
-ArgumentList
$MSIAgentArguments
-Wait
-NoNewWindow
}
Else
{
...
...
dists/uninstall-kaspersky/README.md
View file @
b5d4873f
...
...
@@ -73,18 +73,19 @@ You will need to configure/customize your SWMB installation
before you can uninstall Kaspersky Endpoint and the Network Agent.
This includes the creation of a parameter module
`Custom-VarOverload.psm1`
which can be saved in the current folder
or in any other folder...
`Custom-VarOverload.psm1`
(or
`Custom-VarAutodel.psm1`
)
which can be saved in the current folder
or in any other folder...
```
ps1
# Kaspersky Endpoint Security
$Global:SWMB_Custom.KesLogin = "KLAdmin"
# If clear password
$Global:SWMB_Custom.KesPassword = ""
$Global:SWMB_Custom.KesAgentPass = ""
# Log file if non empty
$Global:SWMB_Custom.KesLogFile = ""
#
Or if e
ncrypted
blurred
password
#
E
ncrypted password
s if non empty
$Global:SWMB_Custom.KesKeyFile = ""
# Clear or encrypted blurred password
$Global:SWMB_Custom.KesPassword = ""
$Global:SWMB_Custom.KesAgentPass = ""
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment