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.
Syntax Get-PSSessionConfiguration [[-Name] string[]] [CommonParameters] Key -Name Get only the session configurations with the specified name or pattern. Enter one or more session configuration names. Wildcards are permitted. CommonParameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer -OutVariable.
Examples
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 Cmdlets:
Enable-PSSessionConfiguration - Enable PS session configuration.
Register-PSSessionConfiguration - Create and register a new PS session configuration.