Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Getting Error while running Get-DscConfiguration in Windows Server 2008 R2

$
0
0

Hi ,

I am trying to run "Get-DscConfiguration -Verbose" in server 2008 R2 in order to upload the output of it Pull Server using POST method. But I am getting following error :

Get-DscConfiguration : Current configuration does not exist. Execute Start-DscConfiguration command 
with -Path parameter to specify a configuration file and create a current configuration first.At 
line:1 char:1
+ Get-DscConfiguration -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (MSFT_DSCLocalConfigurationManager:root/Microsoft/...gura 
   tionManager) [Get-DscConfiguration], CimException
    + FullyQualifiedErrorId : MI RESULT 1,Get-DscConfiguration

The same works pretty well for 2012 server and I able to upload the same.


Regards,

Sudhakar


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>