Public Files

Info about this page https://wiki.enlogic.gr/Customers/EnLogic/AboutPublicFiles

(You need to ask ndemou to add or update the attachments)

Example of how to download and use some scripts

In case of error "cannot be loaded because running scripts is disabled on this system"

Default windows policy is to not allow execution of PowerShell scripts. You can overide it like this:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted

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
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 self-contained scripts like server-QC-checks.ps1 & Run-DismSfc.ps1

$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"
$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 # you may add -Reboot if you don't mind rebooting to finish installations

& c:\it\bin\WindowsUpdatesHelper.ps1 -ShowHistory -IncludeAV | ft # show updates history
$fname="Test-ForCpuRamDiskStress.ps1"; mkdir C:\it\bin -force > $null; iwr -useb https://wiki.enlogic.gr/pub/KnowledgeBase/PublicFiles/$fname -OutFile c:\it\bin\$fname

# Run once
& "c:\it\bin\$fname" -LogDir c:\it\log -LogBaseName 'CpuRamDiskStress'

# Always run on startup
New-ScheduledTaskForPSScript `
-ScriptPath "c:\it\bin\Test-ForCpuRamDiskStress.ps1" `
-ScheduleType Startup `
-ScriptArguments "-LogDir","c:\it\log"

Health tests code

# Download (or Update) all code related to Health Testing
$fname="Update-ServerHealthCode.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"
c:\it\bin\Test-WorkstationHealth.ps1 # the easy way to run it for WORKSTATIONS
C:\it\bin\Run-TestServerHealthForThisHost.ps1 # the easy way to run it for SERVERS
$out = C:\it\bin\Test-ServerHealth.ps1 -OutputConsoleMessages -Hide DIP # the HACKER'S way

Other

...

-

I Attachment Action Size Date Who Comment
Get-EnNetHealth.ps1ps1 Get-EnNetHealth.ps1 manage 12 K 03 Sep 2023 - 12:37 Main.NickDemou  
Install-PrepLapCode.ps1ps1 Install-PrepLapCode.ps1 manage 3 K 17 Nov 2025 - 17:06 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 26 Nov 2025 - 17:36 Main.NickDemou  
Run-TestServerHealthForThisHost.ps1ps1 Run-TestServerHealthForThisHost.ps1 manage 4 K 25 Nov 2025 - 12:05 Main.NickDemou  
Run-TestServerHealthOnAllDomainServers.ps1ps1 Run-TestServerHealthOnAllDomainServers.ps1 manage 15 K 02 Dec 2025 - 08:52 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 274 K 11 Dec 2025 - 06:28 Main.NickDemou  
Test-WorkstationHealth.ps1ps1 Test-WorkstationHealth.ps1 manage 1 K 01 Dec 2025 - 15:40 Main.NickDemou  
Update-ServerHealthCode.ps1ps1 Update-ServerHealthCode.ps1 manage 4 K 02 Dec 2025 - 08:52 Main.NickDemou  
WindowsUpdatesHelper.ps1ps1 WindowsUpdatesHelper.ps1 manage 25 K 16 Dec 2025 - 12:26 Main.NickDemou  
check-domain.ps1ps1 check-domain.ps1 manage 29 K 26 Nov 2025 - 10:32 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  
enl-network-health.ps1ps1 enl-network-health.ps1 manage 545 bytes 03 Sep 2023 - 12:37 Main.NickDemou  
lib-write-log-objects.ps1ps1 lib-write-log-objects.ps1 manage 8 K 26 Nov 2025 - 14:09 Main.NickDemou  
mazars-prepare-laptop-code.ps1ps1 mazars-prepare-laptop-code.ps1 manage 68 K 11 Dec 2025 - 06:27 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 34 K 10 Dec 2025 - 08:41 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  
uchardet.exeexe uchardet.exe manage 692 K 12 Oct 2025 - 13:16 Main.NickDemou  
This topic: KnowledgeBase > PublicFiles
Topic revision: 17 Dec 2025, NickDemou
Copyright © enLogic