September 2017
Beginner to intermediate
272 pages
8h 8m
English
If you're interested in a quick view of the status of a target node in WMF 5, there is a built-in cmdlet to report on a target node's status, called Get-DscConfigurationStatus. This runs a PSJob that interrogates the state of the DSC runs on the target node and returns the status information:
PS C:\Windows\system32> Get-DscConfigurationStatus | fl *DurationInSeconds : 4Error :HostName : DSC-BOX2IPV4Addresses : {10.0.2.15, 169.254.35.43, 192.168.50.2, 192.168.50.4...}IPV6Addresses : {fe80::c524:57eb:b077:5419%7, ::2000:0:0:0, fe80::d80e:a48b:f347:232b%2, ::4000:0:0:0...}JobID : {E5104F0B-7BD6-11E7-9662-080027928F7F}LCMVersion : 2.0Locale : en-USMACAddresses : {08-00-27-5B-B7-7B, 08-00-27-E1-B2-24, 08-00-27-92-8F-7F, ...Read now
Unlock full access