Powershell GUI fronted (WPF) to run categorized console scripts

⌈⌋ ⎇ branch:  ClickyColoury


Artifact [1928e3b801]

Artifact 1928e3b80181a71b0de181732caa06784b1f2402:

  • File tools/cmd/cmd_sfc.ps1 — part of check-in [cd996a8738] at 2018-04-10 15:28:06 on branch trunk — Move to new vars: support (user: mario size: 409)

# api: multitool
# version: 1.0
# title: SFC /SCANNOW
# description: scan protected system files (and replace)
# type: window
# category: cmd
# hidden: 0
# key: 5|sfc
# vars:
#    { name: machine }
# config: -
#
# runs sfc /scannow on remote computer

Param($machine = (Read-Host "Computer"))

Write-Host "Starting SFC /SCANNOW..."
psexec \\$machine sfc /scannow

Read-Host "---END---"