Public Files
Info about this page
https://wiki.enlogic.gr/Customers/EnLogic/AboutPublicFiles
(You need to ask ndemou to add or update the attachments)
FAQ about possible errors
In case of error "iwr : The request was aborted: Could not create SSL/TLS secure channel."

Run this and then retry:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
In case of error "File ... cannot be loaded because running scripts is disabled on this system"

Default windows policy is to not allow execution of PowerShell
scripts. You can override it for your session like this:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force
Examples of how to download and use various scripts
For mazars-prepare-laptop-code.ps1 (ProcedurePrepareLaptopForNewUser)
Open an
Admin PowerShell and run these commands (they allow execution of PowerShell scripts, install PowerShell windows update module, and
download code from our wiki)
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force
powershell -exec bypass -c ". {iwr -useb https://wiki.enlogic.gr/pub/KnowledgeBase/PublicFiles/Install-PrepLapCode.ps1}|iex"
For libraries like monitor-tcp-port-conns.ps1 (Watch-PortConnectionsLive)
$fname="monitor-tcp-port-conns.ps1"; mkdir C:\it\bin -force > $null; iwr -useb https://wiki.enlogic.gr/pub/KnowledgeBase/PublicFiles/$fname -out c:\it\bin\$fname
. C:\it\bin\$fname # dot-source it to have access to the commands/functions it provides
$output = Watch-PortConnectionsLive; $output | ft
For Windows Updates Helper script
The fastest way to bring a new installation up-to-date:
# Download & first run # CAUTION: WILL REBOOT WITHOUT WAITING / WITHOUT ASKING
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted -Force
$fname="WindowsUpdatesHelper.ps1"; mkdir C:\it\bin -force > $null; iwr -useb https://wiki.enlogic.gr/pub/KnowledgeBase/PublicFiles/$fname -OutFile c:\it\bin\$fname
& c:\it\bin\WindowsUpdatesHelper.ps1 -Download -Reboot
# 2nd Run (REPEAT UNTIL YOU GET 0 Updates Found)
& c:\it\bin\WindowsUpdatesHelper.ps1 -Download -Reboot -Interactive # It will also install updates that MAY ask you to accept EULAs or make choices
Other options:
# Display the logs from the last 10 executions of this script
& c:\it\bin\WindowsUpdatesHelper.ps1 -ListRecentLogs | %{cat $_.fullname|sls -NotMatch '^(Machine|Host Application|Process ID|Log file|Configuration Name|Username|End time|[A-Z][a-z]*(Versions?|Edition)): '}
CAUTION : An unfortunate side-effect of this script is that
the updates it installs are not visible in the GUI (Settings -> Windows Updates) . The only way to view them:
& c:\it\bin\WindowsUpdatesHelper.ps1 -ShowHistory | ft # You may add -IncludeAV if you want to also view (the very frequent) Antivirus udpates
For self-contained scripts like server-QC-checks.ps1 & Run-DismSfc.ps1
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted -Force
$fname="server-QC-checks.ps1"; mkdir C:\it\bin -force > $null; iwr -useb https://wiki.enlogic.gr/pub/KnowledgeBase/PublicFiles/$fname -OutFile c:\it\bin\$fname; . "c:\it\bin\$fname"
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted -Force
$fname="Run-DismSfc.ps1"; mkdir C:\it\bin -force > $null; iwr -useb https://wiki.enlogic.gr/pub/KnowledgeBase/PublicFiles/$fname -OutFile c:\it\bin\$fname; . "c:\it\bin\$fname"
For CPU, Disk, Memory Stress monitoring
# Download
$fname="Test-ForCpuRamDiskStress.ps1"; mkdir C:\it\bin -force > $null; mkdir C:\it\log -force > $null; iwr -useb https://wiki.enlogic.gr/pub/KnowledgeBase/PublicFiles/$fname -OutFile c:\it\bin\$fname
# Setup to always run on startup
$fname="ps-helpers.ps1"; iwr -useb https://wiki.enlogic.gr/pub/KnowledgeBase/PublicFiles/$fname -OutFile c:\it\bin\$fname; . c:\it\bin\$fname
New-ScheduledTaskForPSScript -ScriptPath "c:\it\bin\Test-ForCpuRamDiskStress.ps1" -ScheduleType Startup -ScriptArguments "-LogDir","c:\it\log"
Start-ScheduledTask -TaskPath '\enLogic\' -TaskName 'Execute Test-ForCpuRamDiskStress.ps1'
# Get statistics for a particular date
& C:\it\bin\Test-ForCpuRamDiskStress.ps1 -Granularity 10m -LogFile C:\it\log\CpuRamDiskStress.2026-01-14.log

# If you want to run only once:
& c:\it\bin\Test-ForCpuRamDiskStress.ps1 -LogDir c:\it\log -LogBaseName 'CpuRamDiskStress'
Health tests code
See Admin guide on
https://github.com/ndemou/GetComputerHealth
Libraries/Helpers
$fname="helpers-processes.ps1"; mkdir C:\it\bin -force > $null; iwr -useb https://raw.githubusercontent.com/ndemou/GetComputerHealth/refs/heads/main/$fname -OutFile c:\it\bin\$fname
$fname="lib-write-log-objects.ps1"; mkdir C:\it\bin -force > $null; iwr -useb https://raw.githubusercontent.com/ndemou/GetComputerHealth/refs/heads/main/$fname -OutFile c:\it\bin\$fname
Send-Message
$fname="Send-Message.ps1"; mkdir C:\it\bin -force > $null; iwr -useb https://raw.githubusercontent.com/ndemou/GetComputerHealth/refs/heads/main/$fname -OutFile c:\it\bin\$fname
To configure it run this:
& C:\it\bin\Send-Message.ps1 -GenerateConfig c:\it\config\Send-Message.conf

All ps1 Attachments
*
check-domain.ps1 (2026-02-17 10:51)
*
cmdlets-for-dcs.ps1 (2026-02-16 21:36)
*
enl-network-health.ps1 (2023-09-03 12:37)
*
get-CommunicatingGroupHosts.ps1 (2026-02-19 12:32)
*
Get-EnNetHealth.ps1 (2026-01-20 10:35)
*
helpers-DCs.ps1 (2026-02-17 10:01)
*
helpers-networking.ps1 (2026-03-09 19:25)
*
helpers-processes.ps1 (2026-03-06 13:18)
*
helpers-text-files.ps1 (2026-02-27 10:44)
*
Install-PrepLapCode.ps1 (2026-03-09 12:40)
*
Invoke-GetHealthDomainComputers.ps1 (2026-02-17 10:01)
*
Invoke-GetHealthThisComputer.ps1 (2026-02-04 20:20)
*
monitor-tcp-port-conns.ps1 (2025-08-28 19:58)
*
Out-HostColored.ps1 (2023-09-03 12:37)
*
ps-helpers.ps1 (2026-02-16 21:35)
*
Run-DismSfc.ps1 (2026-02-10 10:23)
*
run-script-on-allDomainServers.ps1 (2026-02-27 10:44)
*
Run-TestServerHealthForThisHost.ps1 (2026-02-04 14:35)
*
Run-TestServerHealthOnAllDomainServers.ps1 (2026-02-04 14:35)
*
server-QC-checks.ps1 (2025-09-03 17:48)
*
Start-Copy4Toula.ps1 (2026-03-08 22:29)
*
sync-c-it-bin-with-other-dcs.ps1 (2026-02-17 10:58)
*
test-ConnectivityToGroupNets.ps1 (2026-02-17 12:35)
*
Test-ForCpuRamDiskStress.ps1 (2025-11-26 10:32)
*
test-HealthOfComGroupHosts.ps1 (2026-02-17 12:44)
*
Test-ServerHealth.ps1 (2026-02-04 14:35)
*
Test-WorkstationHealth.ps1 (2026-02-04 14:58)
*
update-all-scripts.ps1 (2026-02-17 10:16)
*
Update-GetHealthCode.ps1 (2026-02-25 18:31)
*
Update-ServerHealthCode.ps1 (2026-02-04 14:35)
*
WindowsUpdatesHelper.ps1 (2026-02-25 10:10)