PowerShell Server 2016
PowerShell Server 2016
Questions / Feedback?

Profile Execution

PowerShell Server will use the host-agnostic profile scripts (e.g. profile.ps1) and Server-specific named profiles that are only run for PowerShell Server connections. You can also see what host you're running in (PowerShell Server or regular PowerShell) by checking the value of $NSShellId.

NameDescription
nsoftware.PowerShell_profile.ps1Used only for interactive sessions.
nsoftware.PSExec_profile.ps1Used for only for exec and PowerShell Server cmdlet connections.

Profiles will first be loaded from the "%SystemRoot%\System32\WindowsPowerShell\v1.0" location and then the "%UserProfile%\Documents\WindowsPowerShell" location.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
PowerShell Server 2016 - Version 16.0 [Build 6240]