InitialSessionState.ImportPSSnapIn(String, PSSnapInException) Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Custom PSSnapIn is deprecated. Please use a module instead.
Need to have SnapIn support till we move to modules.
public:
 System::Management::Automation::PSSnapInInfo ^ ImportPSSnapIn(System::String ^ name, [Runtime::InteropServices::Out] System::Management::Automation::Runspaces::PSSnapInException ^ % warning);
	public System.Management.Automation.PSSnapInInfo ImportPSSnapIn(string name, out System.Management.Automation.Runspaces.PSSnapInException warning);
	[System.Obsolete("Custom PSSnapIn is deprecated. Please use a module instead.", true)]
public System.Management.Automation.PSSnapInInfo ImportPSSnapIn(string name, out System.Management.Automation.Runspaces.PSSnapInException warning);
	member this.ImportPSSnapIn : string * PSSnapInException -> System.Management.Automation.PSSnapInInfo
	[<System.Obsolete("Custom PSSnapIn is deprecated. Please use a module instead.", true)>]
member this.ImportPSSnapIn : string * PSSnapInException -> System.Management.Automation.PSSnapInInfo
	Public Function ImportPSSnapIn (name As String, ByRef warning As PSSnapInException) As PSSnapInInfo
	Parameters
- name
 - String
 
- warning
 - PSSnapInException
 
Returns
- Attributes