powershell-tricks
  • Introduction
  • Run Remote Script from Host
  • Expand Array as Parameter
  • Output a Hashtable
  • Use Add-Type without Pollute Current Session
  • Get-Location is the execution path.
  • About Dot Sourcing
  • About ScriptBlock
Powered by GitBook
On this page

Use Add-Type without Pollute Current Session

start-job, wait-job, receive-job

use job actually started a new app domain. it creates another ps instance. could use to Add-Type without pollute current session.

PreviousOutput a HashtableNextGet-Location is the execution path.

Last updated 7 years ago