DSC is a new management platform in Windows PowerShell that enables deploying and managing configuration data for software services and managing the environment in which these services run.
Questions tagged [powershell-dsc]
42 questions
0
votes
1 answer
How to enrol AzureVM in Azure Automation from within Private network
I have an azure virtual machine, freshly spun up, it's connected to my office through a VPN. The NSG governs such that the computer can only access the internet though the on-prem proxy that requires authentication.
Browsing to the internet as my…

Stu
- 2,426
- 2
- 26
- 42
0
votes
1 answer
Powershell DSC - Unzip file to remote destination
My goal is to create a Powershell DSC configuration to unzip a file - from my local computer - to a remote directory on a Hyper-V Win10 VM (I've already shared that destination folder). But, right now, I still have some problem to insert the VM…

Dandelion
- 61
- 2
- 7
0
votes
1 answer
Could not establish trust relationship for the SSL/TLS secure channel when downloading file via Powershell DSC
I'm trying to download a file via by invoking a web request inside a Powershell DSC.
When i execute the script i get the error
PowerShell DSC resource MSFT_ScriptResource failed to execute Set-
TargetResource functionality
with error message: The…

MrBliz
- 5,830
- 15
- 57
- 81
0
votes
2 answers
Multiple instances of Powershell DSC configuration
I was wondering if the following scenario is supported:
We currently run multiple instances of the same applications on our servers. We've created a DSC configuration that specifies what our application needs so we can quicly set up an environment.…

Flybersite
- 61
- 6
0
votes
2 answers
Service identity incorrect when set with Service resource
I have a DSC configuration which includes this resource:
Service SQL {
Name = 'SQLSERVERAGENT'
StartupType = 'Manual'
State = 'Running'
Credential = $c
}
When I run this configuration, the service identity is correct in services.msc…

sirdank
- 3,351
- 3
- 25
- 58
0
votes
1 answer
How to use DSC Script Configuration to configure FCI
How can I use DSC script part to cOnfigure a failover cluster and join the node to that cluster. Any links will be helpful.

deadtest
- 173
- 1
- 1
- 10
0
votes
0 answers
Getting error while configuring dsc
Configuring DC using dsC getting below this error
A command that prompts the user failed because the host program or the command type does not support user interaction. The host was attempting to request confirmation with the following message: New…

dead mah
- 181
- 2
- 2
- 6
0
votes
1 answer
xWebSite LogPeriod error in IIS 7.5
I am getting an error setting the log file rollover schedule for a web site in IIS 7.5 using PowerShell DSC. The following script
Configuration TestConfiguration
{
Import-DscResource –ModuleName PSDesiredStateConfiguration
Import-DscResource…

Rosberg Linhares
- 3,537
- 1
- 32
- 35
0
votes
1 answer
DSC Resource xADUser Fails to Log Into Server
I'm running DSC script on a Domain Controller in order to add users. In my case xADUser fails with the following error.
PowerShell DSC resource MSFT_xADUser failed to execute Test-TargetResource functionality with
error message:
Either the…

ChiliYago
- 11,341
- 23
- 79
- 126
0
votes
1 answer
Register-AzureRmAutomationDscNode returns BadRequest
I am trying to register a DSC Configuration on an Azure VM using the Register-AzureRmAutomationDscNode powershell command.
Register-AzureRmAutomationDscNode -ResourceGroupName $p_automationResourceGroupName `
…

coder_andy
- 376
- 1
- 3
- 17
0
votes
1 answer
Pull configuration causing odd behavior with multiple Group resources
Using Azure Automation Pull DSC service I have a configuration that generates multiple Group resources to ensure accounts are members of the IIS_IUSRS group (app pool identities). These group resources are generated by looping over data inside the…

H Boyce
- 1,073
- 8
- 15
0
votes
1 answer
Installing an exe with PowerShell DSC returns exit code only when run through LCM
I am trying to install the HPC Pack 2012 R2 U3 setup using PowerShell DSC. The following code works and installs the software:
$HpcPackName = "Microsoft HPC Pack 2012 R2 Server Components"
$HpcPackSourcePath =…

robertkroll
- 8,544
- 6
- 24
- 24