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."

2c29fed4c40581f864858d9c68fac5c4.png

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"

5a9f8dff4f462cd3d81e3e5c76d84f38.png

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

a1aa3893bbc96bfe3dd48cb6ebeb4474.png

32f353b97726c8435cddbb2c3af6f4d0.pngbd2c1375c099f432e99db1df298a23a5.png

# 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

8ffaffad307959aac964822ccff9f94a.png

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)

I Attachment Action Size Date Who Comment
2c29fed4c40581f864858d9c68fac5c4.pngpng 2c29fed4c40581f864858d9c68fac5c4.png manage 8 K 14 Jan 2026 - 17:41 Main.NickDemou Auto-attached by <nop>ImagePlugin
32f353b97726c8435cddbb2c3af6f4d0.pngpng 32f353b97726c8435cddbb2c3af6f4d0.png manage 20 K 14 Jan 2026 - 08:58 Main.NickDemou Auto-attached by <nop>ImagePlugin
5a9f8dff4f462cd3d81e3e5c76d84f38.pngpng 5a9f8dff4f462cd3d81e3e5c76d84f38.png manage 20 K 14 Jan 2026 - 17:41 Main.NickDemou Auto-attached by <nop>ImagePlugin
8ffaffad307959aac964822ccff9f94a.pngpng 8ffaffad307959aac964822ccff9f94a.png manage 89 K 02 Feb 2026 - 19:24 Main.NickDemou Auto-attached by <nop>ImagePlugin
Get-EnNetHealth.ps1ps1 Get-EnNetHealth.ps1 manage 13 K 20 Jan 2026 - 10:35 Main.NickDemou  
Install-PrepLapCode.ps1ps1 Install-PrepLapCode.ps1 manage 1 K 09 Mar 2026 - 12:40 Main.NickDemou  
Invoke-GetHealthDomainComputers.ps1ps1 Invoke-GetHealthDomainComputers.ps1 manage 1 K 17 Feb 2026 - 10:01 Main.NickDemou  
Invoke-GetHealthThisComputer.ps1ps1 Invoke-GetHealthThisComputer.ps1 manage 4 K 04 Feb 2026 - 20:20 Main.NickDemou  
MOffice_Certificates.cercer MOffice_Certificates.cer manage 798 bytes 07 Oct 2025 - 07:38 Main.NickDemou  
Out-HostColored.ps1ps1 Out-HostColored.ps1 manage 14 K 03 Sep 2023 - 12:37 Main.NickDemou  
Run-DismSfc.ps1ps1 Run-DismSfc.ps1 manage 30 K 10 Feb 2026 - 10:23 Main.NickDemou  
Run-TestServerHealthForThisHost.ps1ps1 Run-TestServerHealthForThisHost.ps1 manage 4 K 04 Feb 2026 - 14:35 Main.NickDemou  
Run-TestServerHealthOnAllDomainServers.ps1ps1 Run-TestServerHealthOnAllDomainServers.ps1 manage 15 K 04 Feb 2026 - 14:35 Main.NickDemou  
Start-Copy4Toula.ps1ps1 Start-Copy4Toula.ps1 manage 12 K 08 Mar 2026 - 22:29 Main.NickDemou  
Test-ForCpuRamDiskStress.ps1ps1 Test-ForCpuRamDiskStress.ps1 manage 70 K 26 Nov 2025 - 10:32 Main.NickDemou  
Test-ServerHealth.ps1ps1 Test-ServerHealth.ps1 manage 283 K 04 Feb 2026 - 14:35 Main.NickDemou  
Test-WorkstationHealth.ps1ps1 Test-WorkstationHealth.ps1 manage 1 K 04 Feb 2026 - 14:58 Main.NickDemou  
Update-GetHealthCode.ps1ps1 Update-GetHealthCode.ps1 manage 8 K 25 Feb 2026 - 18:31 Main.NickDemou  
Update-ServerHealthCode.ps1ps1 Update-ServerHealthCode.ps1 manage 4 K 04 Feb 2026 - 14:35 Main.NickDemou  
WindowsUpdatesHelper.ps1ps1 WindowsUpdatesHelper.ps1 manage 87 K 25 Feb 2026 - 10:10 Main.NickDemou  
a1aa3893bbc96bfe3dd48cb6ebeb4474.pngpng a1aa3893bbc96bfe3dd48cb6ebeb4474.png manage 79 K 14 Jan 2026 - 08:58 Main.NickDemou Auto-attached by <nop>ImagePlugin
bd2c1375c099f432e99db1df298a23a5.pngpng bd2c1375c099f432e99db1df298a23a5.png manage 29 K 14 Jan 2026 - 08:58 Main.NickDemou Auto-attached by <nop>ImagePlugin
check-domain.ps1ps1 check-domain.ps1 manage 28 K 17 Feb 2026 - 10:51 Main.NickDemou  
cisco-secure-client-win-5.1.8.122-core-vpn-predeploy-k9.msimsi cisco-secure-client-win-5.1.8.122-core-vpn-predeploy-k9.msi manage 22 MB 07 Oct 2025 - 08:07 Main.NickDemou  
cmdlets-for-dcs.ps1ps1 cmdlets-for-dcs.ps1 manage 3 K 16 Feb 2026 - 21:36 Main.NickDemou  
enl-network-health.ps1ps1 enl-network-health.ps1 manage 545 bytes 03 Sep 2023 - 12:37 Main.NickDemou  
get-CommunicatingGroupHosts.ps1ps1 get-CommunicatingGroupHosts.ps1 manage 7 K 19 Feb 2026 - 12:32 Main.NickDemou  
helpers-DCs.ps1ps1 helpers-DCs.ps1 manage 4 K 17 Feb 2026 - 10:01 Main.NickDemou  
helpers-networking.ps1ps1 helpers-networking.ps1 manage 19 K 09 Mar 2026 - 19:25 Main.NickDemou  
helpers-processes.ps1ps1 helpers-processes.ps1 manage 18 K 06 Mar 2026 - 13:18 Main.NickDemou  
helpers-text-files.ps1ps1 helpers-text-files.ps1 manage 57 K 27 Feb 2026 - 10:44 Main.NickDemou  
monitor-tcp-port-conns.ps1ps1 monitor-tcp-port-conns.ps1 manage 18 K 28 Aug 2025 - 19:58 Main.NickDemou  
ps-helpers.ps1ps1 ps-helpers.ps1 manage 2 K 16 Feb 2026 - 21:35 Main.NickDemou  
run-script-on-allDomainServers.ps1ps1 run-script-on-allDomainServers.ps1 manage 6 K 27 Feb 2026 - 10:44 Main.NickDemou  
server-QC-checks.ps1ps1 server-QC-checks.ps1 manage 48 K 03 Sep 2025 - 17:48 Main.NickDemou  
smart_office_excel_4.0.5.0_64bits.msimsi smart_office_excel_4.0.5.0_64bits.msi manage 31 MB 07 Oct 2025 - 08:10 Main.NickDemou  
smart_office_powerpoint_4.0.5.0_64bits.msimsi smart_office_powerpoint_4.0.5.0_64bits.msi manage 31 MB 07 Oct 2025 - 08:10 Main.NickDemou  
smart_office_word_4.0.5.0_64bits.msimsi smart_office_word_4.0.5.0_64bits.msi manage 31 MB 07 Oct 2025 - 08:10 Main.NickDemou  
sync-c-it-bin-with-other-dcs.ps1ps1 sync-c-it-bin-with-other-dcs.ps1 manage 3 K 17 Feb 2026 - 10:58 Main.NickDemou  
test-ConnectivityToGroupNets.ps1ps1 test-ConnectivityToGroupNets.ps1 manage 514 bytes 17 Feb 2026 - 12:35 Main.NickDemou  
test-HealthOfComGroupHosts.ps1ps1 test-HealthOfComGroupHosts.ps1 manage 11 K 17 Feb 2026 - 12:44 Main.NickDemou  
uchardet.exeexe uchardet.exe manage 692 K 12 Oct 2025 - 13:16 Main.NickDemou  
update-all-scripts.ps1ps1 update-all-scripts.ps1 manage 6 K 17 Feb 2026 - 10:16 Main.NickDemou  
This topic: KnowledgeBase > PublicFiles
Topic revision: 09 Mar 2026, NickDemou
Copyright © enLogic