Get Local Configuration Manager settings, or meta-configuration, for the node. (PowerShell 4.0+)
Syntax Get-DscLocalConfigurationManager [-AsJob] [-CimSession CimSession] [-ThrottleLimit Int32] [CommonParameters] Key -AsJob Run the cmdlet as a background job. Use this parameter to run commands that take a long time to complete. The cmdlet immediately returns an object that represents the job and then displays the command prompt. You can continue to work in the session while the job completes. To manage the job, use the *-Job cmdlets. To get the job results, use Receive-Job. -CimSession CimSession Run the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession. The default is the current session on the local computer. -ThrottleLimit Int32 The maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then PowerShell calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer. CommonParameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer -OutVariable.
If you do not specify a target computer, Get-DscLocalConfigurationManager gets the configuration from the local computer.
Get the configuration for a specified computer:
PS C:\> $Session = New-CimSession –ComputerName "Server64" –Credential ACCOUNTS\JDoe
PS C:\> Get-DscLocalConfigurationManager -CimSession $Session
“It takes a very unusual mind to undertake the analysis of the obviouss” ~ Alfred North Whitehead
Related PowerShell Cmdlets:
Get-DscConfiguration - Get the current config. of a node.
Get-DscResource - Get Desired State Config. resources from a computer.
Start-DscConfiguration - Apply Desired State config to nodes.
New-DSCCheckSum - Create checksum files for DSC docs/resources.
TechNet - Desired State Configuration Overview.