Closed
Description
PowerShellContext
should support loading user and system-level profile scripts. The .NET API will expose this as a function that should be called explicitly for profiles to be loaded.
The host process will invoke profile loading by default but there should be a -NoProfile
command line parameter which will disable automatic profile loading for the session.