Get the session configurations that have been registered on the local computer.
This is an advanced cmdlet for system administrators to manage custom session configurations for their users.

      Get-PSSessionConfiguration [[-Name] string[]] [CommonParameters]

       Get only the session configurations with the specified name or pattern.
       Enter one or more session configuration names.
       Wildcards are permitted.

       -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable,
       -OutBuffer -OutVariable.


Get the session configurations on the computer:

PS C:> get-pssessionconfiguration

Get only the session configurations with names that begin with "Microsoft".:

PS C:> get-pssessionconfiguration -name Microsoft*

Get the resource URI of a session configuration. :

PS C:> (get-PSSessionConfiguration -name CustomShell).resourceURI

For more examples, see: get-help Get-PSSessionConfiguration -detailed

"All of Western logic is based upon the law of contradiction -- if two things contradict, then at least one of them is false. But Islamic logic is dualistic; two things can contradict each other and both are true" ~ Bill Warner

Related PowerShell Commands:

Enable-PSSessionConfiguration - Enable PS session configuration
Register-PSSessionConfiguration - Create and register a new PS session configuration

Copyright © 1999-2019
Some rights reserved