July 2018
Beginner
552 pages
13h 18m
English
A similar approach can be used when updating one or more JEA servers. A short update command can be sent from a software deployment solution, in a scheduled task or by a privileged user. A benefit of using JEA is that you can host multiple endpoints with different sets of cmdlets.
You could, for example, supply a role capability that offers cmdlets related to package management so that your orchestration solution can connect to the endpoint, install, update, and remove modules and nothing else:
#region Updating JEA servers# Initialize paths$modulePath = Join-Path -Path ($env:PSModulePath -split ';')[1] -ChildPath JeaRoles$manifestPath = Join-Path $modulePath -ChildPath 'JeaRoles.psd1'$roleCapabilitiesPath = Join-Path $modulePath ...
Read now
Unlock full access