• Narrow screen resolution
  • Wide screen resolution
  • Increase font size
  • Decrease font size
  • Default font size
  • default color
  • red color
© Diana Scherff, Amas-Veritas.com

Welcome to Amas Veritas [dot] com

Updates: Media (lyrics) has a new layout. I could never figure out how to lay it out, but it's easier to navigate now. I'm still working on a better duplicate Mamblog mod. I'm trying to make submittions easier but the poetry form died for some reason. Quizzes are also on their way from the old site. Joomla content isn't very code friendly so I'm having to rewrite old code. You can still click on News > AH v21 > Screen if you wish to use the quizzes.
 
Home arrow Tools arrow Windows PowerShell arrow Get-PSSnapin [gsnp]
Get-PSSnapin [gsnp] Print E-mail
Written by Diana, on 04-09-2007 02:28
Views 105    
Favoured None

PS C:\Users\Admin> help gsnp -full

NAME
    Get-PSSnapin

SYNOPSIS
    Gets the Windows PowerShell snap-ins on the computer.

SYNTAX
    Get-PSSnapin [[-name] <string[]>] [-registered] [<CommonParameters>]


DETAILED DESCRIPTION
    The Get-PSSnapIn cmdlet gets objects representing each Windows PowerShell snap-in available in the current console or registered on the system. The snap-ins are listed in the order in which they appear in the console file.


PARAMETERS
    -name <string[]>
        Gets only the specified Windows PowerShell snap-ins. Enter the names of one or more Windows PowerShell snap-ins. Wildcards are permitted.

        The parameter name ("-Name") is optional.

        Required?                    false
        Position?                    1
        Default value
        Accept pipeline input?       false
        Accept wildcard characters?  true

    -registered <SwitchParameter>
        Gets only the Windows PowerShell snap-ins that have been registered on the system. The snap-ins that are installed with Windows PowerShell do not appear in this list.

        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false

    <CommonParameters>
        This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters".


INPUT TYPE
    PSSnapInInfo.Name


RETURN TYPE
    PSSnapInInfo objnct.


NOTES


        For more information, type "Get-Help Get-PSSnapIn -detailed". For technical information, type "Get-Help Get-PSSnapIn -full".

         When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".

        You can also refer to Get-PSSnapin by its built-in alias, "psnp". For more information, see About_Alias.


    ----------------- EXAMPLE 1 -----------------

    C:\PS>get-PSSnapIn


    This command get the Windows PowerShell snap-ins that are currently loaded in the console. This includes the snap-ins that are installed with Windows PowerShell and those that have been added to the console.





    ----------------- EXAMPLE 2 -----------------

    C:\PS>get-PSSnapIn * -registered


    This command gets the Windows PowerShell snap-ins that have been registered on the computer, including those that have already been added to the console. The output does not include snap-ins that are installed with Windows PowerShell or Windows PowerShell snap-in DLLs that have not yet been registered on the system.





    ----------------- EXAMPLE 3 -----------------

    C:\PS>get-PSSnapIn smp*


    This command gets the Windows PowerShell snap-ins in the current console that have names that begin with "smp".






RELATED LINKS
    Add-PSSnapIn
    Remove-PSSnapIn
    Export-Console


Last update: 04-09-2007 02:28

Published in : Tools, Windows PowerShell

Users' Comments (0) RSS feed comment

No comment posted

Add your comment



mXcomment 1.0.4 © 2007-2009 - visualclinic.fr
License Creative Commons - Some rights reserved
 
< Prev   Next >




Double click any word on this page for a definition.
Using Firefox? Enable definitions by downloading the extension.
Sorry, this feature does not currently work in Opera or Safari.

No Users Online

Statistics

OS: FreeBSD
PHP: 5.2.1
MySQL: 4.1.21-log
Time: 20:52
Caching: Disabled
GZIP: Disabled
Members: 36
News: 2448
Web Links: 39
Visitors: 1443350

Syndicate

Login

Particls