Check-in [c9c0a40135]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Add some depends: (e.g. funcs_base or wpf, but no e.g. bin:netsh yet) |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
c9c0a40135fcbd8c0a607c7e6049dd6f |
| User & Date: | mario 2017-09-24 08:20:57 |
Context
|
2017-09-24
| ||
| 08:22 | Another basic exchange script: mailbox stats check-in: 0d04d7129a user: mario tags: trunk | |
| 08:20 | Add some depends: (e.g. funcs_base or wpf, but no e.g. bin:netsh yet) check-in: c9c0a40135 user: mario tags: trunk | |
| 08:19 | Add new project url: (fossil repo) check-in: ffd5c2f7f9 user: mario tags: trunk | |
Changes
Changes to tools/cmd/cmd_currentuser.ps1.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # api: multitool # version: 1.2 # title: Current user on PC # description: Get currently logged on user (via PSLoggedOn.exe) # type: psexec # category: cmd # img: users.png # hidden: 0 # key: 6|cu|current|currentuser|loggedon|psloggedon # config: - # # Formerly used PsLoggedOn.exe # - now using WMI Win32_user as defined in funcs_base Param($machine = (Read-Host "Computer")) Get-CurrentUser $machine | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # api: multitool # version: 1.2 # title: Current user on PC # description: Get currently logged on user (via PSLoggedOn.exe) # type: psexec # category: cmd # depends: funcs_base # img: users.png # hidden: 0 # key: 6|cu|current|currentuser|loggedon|psloggedon # config: - # # Formerly used PsLoggedOn.exe # - now using WMI Win32_user as defined in funcs_base Param($machine = (Read-Host "Computer")) Get-CurrentUser $machine |
Changes to tools/exchange/serverchecks.ps1.
1 2 3 4 5 6 7 8 9 10 11 12 | # api: multitool # version: 0.5 # title: Exchange health checks # description: probe various server performance/database stats # type: inline # category: exchange # icon: firewall # param: exchangeserver # hidden: 0 # key: m10|exchangetests? # status: beta # config: - | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 | # api: multitool # version: 0.5 # title: Exchange health checks # description: probe various server performance/database stats # type: inline # depends: funcs_base # category: exchange # icon: firewall # param: exchangeserver # hidden: 0 # key: m10|exchangetests? # status: beta # config: - |
| ︙ | ︙ |
Changes to tools/info/get_rdp_perm.ps1.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# api: multitool
# version: 0.3
# title: get RDP permissions
# description: on remote PC
# type: inline
# category: info
# img: registry
# hidden: 0
#
# SYSTEM\CurrentControlSet\\Control\\Terminal Server\fDenyTSConnections
$v = Get-RemoteRegistry("\\$machine\HKLM\SYSTEM\CurrentControlSet\\Control\\Terminal Server\fDenyTSConnections")
Write-Host "RDP = $(!$v)"
| > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# api: multitool
# version: 0.3
# title: get RDP permissions
# description: on remote PC
# type: inline
# depends: funcs_base
# category: info
# img: registry
# hidden: 0
#
# SYSTEM\CurrentControlSet\\Control\\Terminal Server\fDenyTSConnections
$v = Get-RemoteRegistry("\\$machine\HKLM\SYSTEM\CurrentControlSet\\Control\\Terminal Server\fDenyTSConnections")
Write-Host "RDP = $(!$v)"
|
Changes to tools/plugins/configedit.ps1.
1 2 3 4 5 6 7 8 9 10 11 12 | # api: multitool # version: 0.4 # title: Config file # description: Create and edit config file # type: inline # category: config # hidden: 1 # key: config|cfg # img: tools # config: - # # | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 | # api: multitool # version: 0.4 # title: Config file # description: Create and edit config file # type: inline # depends: menu # category: config # hidden: 1 # key: config|cfg # img: tools # config: - # # |
| ︙ | ︙ |
Changes to tools/plugins/init_intro.ps1.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# api: ps
# title: init screen
# description: writes something on the Output window on startup
# version: 0.0.3
# type: init-gui
# category: misc
# hidden: 1
# priority: core
if ($GUI.w -and !$CLI) {
# combine version of all scripts
$sigma_ver = ($menu | % { $_.version } | ? { $_ -match "\d" } | % { $_ -replace "-.+$","" -replace "\D","" } | Measure -Sum).Sum -replace "(?<=\d)(?!$)","."
# output
Out-Gui -f Yellow -b "#223388" "ClickyColoury frontend to Multi-Tools Σ ≈ $sigma_ver"
Out-Gui -f "#88bb22" " ✉ Color clipboard enabled (➤HTML icon)"
}
| > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# api: ps
# title: init screen
# description: writes something on the Output window on startup
# version: 0.0.3
# type: init-gui
# depends: wpf
# category: misc
# hidden: 1
# priority: core
if ($GUI.w -and !$CLI) {
# combine version of all scripts
$sigma_ver = ($menu | % { $_.version } | ? { $_ -match "\d" } | % { $_ -replace "-.+$","" -replace "\D","" } | Measure -Sum).Sum -replace "(?<=\d)(?!$)","."
# output
Out-Gui -f Yellow -b "#223388" "ClickyColoury frontend to Multi-Tools Σ ≈ $sigma_ver"
Out-Gui -f "#88bb22" " ✉ Color clipboard enabled (➤HTML icon)"
}
|
Changes to tools/plugins/menu_editscripts.ps1.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# api: multitool
# type: init-gui
# version: 0.5
# title: --- edit ---
# description: edit multitool tools/ and main script, modules
# hidden: 1
# category: edit
# config: {}
#
# Adds to Config > Edit scripts menu
if ((!$CLI) -and (!$e) -and ($GUI.w)) {
$wm = $GUI.w.findName("Menu_EDIT").Items
| > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# api: multitool
# type: init-gui
# version: 0.5
# title: --- edit ---
# description: edit multitool tools/ and main script, modules
# hidden: 1
# category: edit
# depends: wpf
# config: {}
#
# Adds to Config > Edit scripts menu
if ((!$CLI) -and (!$e) -and ($GUI.w)) {
$wm = $GUI.w.findName("Menu_EDIT").Items
|
| ︙ | ︙ |
Changes to tools/powershell/copy_driver.ps1.
1 2 3 4 5 6 7 8 9 10 11 12 | # api: multitool # version: 0.3.7 # title: Copy driver # description: from X:\Treiber\ to user \Temp # type: window # category: powershell # img: copy # hidden: 0 # status: untested # param: machine, driver # # ServiceDesk Driver Collection | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 | # api: multitool # version: 0.3.7 # title: Copy driver # description: from X:\Treiber\ to user \Temp # type: window # depends: wpf # category: powershell # img: copy # hidden: 0 # status: untested # param: machine, driver # # ServiceDesk Driver Collection |
| ︙ | ︙ |
Changes to tools/test/test_htmlclip.ps1.
1 2 3 4 5 6 7 8 9 10 11 12 | # api: multitool # title: test html clip # description: Set-clipboardHtml # version: 0.2 # category: test # type: inline # # testy test $email ="test@test" $user = "user123" Set-ClipboardHtml "<p><font style='color:green'>✔➟</font> The mailbox <<font style='color:blue'>$email</font>> for the account <b style='color:#553311'>$user</b> has been created.</p>" | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 | # api: multitool # title: test html clip # description: Set-clipboardHtml # version: 0.2 # depends: clipboard # category: test # type: inline # # testy test $email ="test@test" $user = "user123" Set-ClipboardHtml "<p><font style='color:green'>✔➟</font> The mailbox <<font style='color:blue'>$email</font>> for the account <b style='color:#553311'>$user</b> has been created.</p>" |