Add-PSSnapin


Adds one or more PSSnapIn(s) to the current Ps console.

Snap-In: Microsoft.PowerShell.Core

Syntax:

Add-PSSnapin

 [-Name] <String[]> [-PassThru] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] 

Description:

The add-PSSnapIn Cmdlet adds one or more PSSnapIns to the current Ps console. After adding a PSSnapIn to the current console, the associated cmdlets can be run within the current console. Be aware that only the in-memory console information is updated. The corresponding console file is not updated. Use the export-console Cmdlet to reuse the console following the current session. The Add-PSSnapIn Cmdlet runs a version check test on the PSSnapIns before loading them in the current console. An error message is displayed if a PSSnapIn cannot be added. Loaded PSSnapIns can be saved in a console file by using the export-console Cmdlet. The current console file name is available in the read-only $console environment variable.



Windows PowerShell. TFM
Internet Forensics
ISBN: 982131445
EAN: 2147483647
Year: 2004
Pages: 289

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net