code: def get_config_status():
      '''
      Get the status of the current DSC Configuration
  
      Returns:
          dict: A dictionary representing the status of the current DSC
              Configuration on the machine
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' dsc.get_config_status
      '''
      cmd = 'Get-DscConfigurationStatus | ' \
            'Select-Object -Property HostName, Status, MetaData, ' \
            '@{Name="StartDate";Expression={Get-Date ($_.StartDate) -Format g}}, ' \
            'Type, Mode, RebootRequested, NumberofResources'
      try:
          return _pshell(cmd, ignore_retcode=True)
      except CommandExecutionError as exc:
          if 'No status information available' in exc.info['stderr']:
              raise CommandExecutionError('Not Configured')
          raisf get_config_status():
      '''
      Get the status of the current DSC Configuration
  
      Returns:
          dict: A dictionary representing the status of the current DSC
              Configuration on the machine
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' dsc.get_config_status
      '''
      cmd = 'Get-DscConfigurationStatus | ' \
            'Select-Object -Property HostName, Status, MetaData, ' \
            '@{Name="StartDate";Expression={Get-Date ($_.StartDate) -Format g}}, ' \
            'Type, Mode, RebootRequested, NumberofResources'
      try:
          return _pshell(cmd, ignore_retcode=True)
      except CommandExecutionError as exc:
          if 'No status information available' in exc.info['stderr']:
              raise CommandExecutionError('Not Configured')
          raise
docs: Get the status of the current DSC Configuration
  
      Returns:
          dict: A dictionary representing the status of the current DSC
              Configuration on the machine
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' dsc.get_config_status