Skip to content

Setup and Use Entrinsec Powershell Modules

Important

Entrinsec Powershell prerequisites can be found here.

How To

As an administrator...

# Install the SETUP from PSGallery into C:\Program Files\PowerShell\Modules
Install-Module -Name Entrinsec.Powershell.SETUP -Repository PSGallery -AllowClobber -Scope AllUsers -Force

# Optionally, import the SETUP module
Import-Module Entrinsec.Powershell.SETUP -Force

# Call the main function to setup the Entrinsec nuget, implies the switch called -CORE
Initialize-EntrinsecNuget

# Optionally, force CORE only
Initialize-EntrinsecNuget -CORE

# Optionally, force EVERYTHING available from Entrinsec
Initialize-EntrinsecNuget -EVERYTHING

Uninstalling Entrinsec Modules

A built in clean-up removes Entrinsec modules.

Remove-EntrinsecModules

Use the native Powershell command to remove the SETUP module.

Uninstall-Module Entrinsec.Powershell.SETUP -AllVersions

Manual

Alternatively, just delete all Entrinsec.Powershell folders from C:\Program Files\PowerShell\Modules

Remember to also close any existing Powershell windows to apply changes to the install and / or uninstall processes for Entrinsec Powershell modules.