dsc Questions
1
Solved
I'm using Powershell desired state configuration and have a separate definition document (psd1) I load into memory via
$ConfigData = Import-PowerShellDataFile "$Path"
where I'd like to ...
Desmonddesmoulins asked 5/1, 2023 at 21:52
2
Solved
I'm trying to use oneget w/chocolaty and it doesn't seem to be working at all. The package says it's installed, no warning or notification. It installs the package in the choco directory, but doesn...
Beaufert asked 30/7, 2015 at 3:38
2
Solved
I'm working through the DSC book from powershell.org and trying to setup a pull server using the configuration code specified in the book.
configuration CreatePullServer
{
param
(
[string[]]$Co...
Opossum asked 2/10, 2014 at 14:22
4
I am trying to install Visual Studio 2013 using PowerShell DSC but I'm running into a few issues and hoping that you guys could clear it up for me. Is DSC capable for rebooting the node and then re...
Arlyne asked 19/12, 2013 at 17:47
5
This is the error I'm hitting: "The PowerShell provider <module> does not exist at the PowerShell module path nor is it registered as a WMI provider"
I'm not exactly a newbie to PowerShell and ...
Insectivore asked 24/8, 2016 at 18:48
2
Solved
I can't seem to find good enough solution to my problem. Is there a good way of grouping variables in some kind of file so that multiple scripts could access them?
I've been doing some work with D...
Davie asked 13/2, 2019 at 11:22
2
Solved
Here's my example:
$Config = @{
AllNodes = @(
@{ NodeName = 'localhost'; PSDscAllowPlainTextPassword = $True }
)
}
Configuration LocalAdmin
{
Param([String[]]$Node='localhost',[PSCredential]$...
Proboscidean asked 27/10, 2017 at 16:46
4
Solved
My MSMQ queue gets created by PowerShell DSC engine. I can see queues created. Since DSC engine runs from SYSTEM account, then queue owner also gets set to SYSTEM.
When I try to set MSMQ ACL from P...
Chrysalid asked 11/11, 2014 at 14:1
1
I am unable to find any help on how to use PowerShell for DSC and deploy asp.net web app on local or remote on premises IIS.
Can you please help me with the steps or any resources?
Lapful asked 13/4, 2017 at 5:53
1
Solved
I would like to be able to deploy a complex ARM template that utilizes DSC extensions and nested templates from my local Visual Studio.
The example is set to download assets from GitHub:
https://g...
Imbroglio asked 5/2, 2017 at 13:32
1
Solved
While setting up an Azure DSC Extension for a VM in the Azure Portal (ARM) we find the form below. What goes in the highlighted text-field, what module is it asking me to specify? The xPSDesiredSta...
Nauseating asked 29/12, 2016 at 17:13
1
Solved
I'm trying to configure a target node via DSC.
I've created a .ps1 file with a dummy Configuration; you can see it below; it's just one of the first examples that you find in DSC sites.
Now I want ...
Lizalizabeth asked 17/11, 2016 at 17:19
2
Solved
I'm trying to run a very simple Powershell DSC script locally. (I never plan on pulling or pushing configuration files at this stage)
I get the following error message. The WS-Management service i...
Kagoshima asked 13/9, 2016 at 1:8
2
Solved
I have a DSC resource that installs dotnet feature and then installs an update to dotnet.
In the Local Configuration Manager I have set RebootNodeIfNeeded to $true.
After dotnet installs, it does...
Castalia asked 3/5, 2016 at 6:42
0
I am working on automating the deployment of our product on Azure VMs. I am using Powershell DSC with Azure automation to provision the VM.
One of the requirement is to import a pfx certificate to...
Tribunate asked 1/8, 2016 at 1:0
4
Solved
I'm working on leveraging Microsoft's DSC Resource Kit (specifically, XWebAdministration, at least for starters). I'm relatively familiar with DSC, so no worries on the script's actual functionalit...
Cliftonclim asked 22/5, 2014 at 16:53
2
I'm trying to use PowerShell DSC to do multiple file copies. My configuration has a list of source/target files that need to be copied. However, the File resource needs to have a unique name with i...
Hoogh asked 14/11, 2014 at 21:12
6
Solved
Is it possible to remove a DSC configuration from a computer, once it has been applied?
For example, I have a configuration block as follows:
configuration SevenZip {
Script Install7Zip {
GetS...
Departure asked 16/8, 2014 at 4:6
0
I have made this very simple DSC script. Which basically creates web application in default website.
Configuration ConfigureWebApp
{
param ($MachineName)
Import-DscResource -Module xWebAdministr...
Thrift asked 17/6, 2015 at 21:10
3
Solved
I am trying to set up a DSC pull server on Windows 2012 R2 machine by following this technet article:
http://technet.microsoft.com/en-us/library/dn249913.aspx
However I just can't get the modules...
Arbela asked 31/10, 2014 at 14:7
2
Solved
Another way to phrase the question less specifically: What is the correct way to 'reset' the DSC processes on a target machine?
I've created a DSC configuration that I'm iterating on right now, and...
Dispart asked 16/9, 2014 at 19:39
3
Solved
I noticed that if applying a configuration through Start-DscConfiguration fails, it writes to the error stream but doesn't
throw an Exception? That is, if I do the following:
try{
Start-DscConfig...
Redfish asked 29/11, 2014 at 10:40
4
Solved
I'm having a lot of trouble trying to get a PowerShell Desired State Configuration script working to configure an in-house application. The root of the problem is that I can't seem to pass my confi...
Haslet asked 28/4, 2014 at 16:57
1
I'm trying to automate the installation of AppFabric 1.1 on a Windows 2012 R2 server using PowerShell DSC. This is actually part of me trying to automate the SharePoint Foundation install and confi...
Coriss asked 24/9, 2014 at 21:32
1
Solved
I have a simple PowerShell DSC configuration block that ensures that a user account does not exist, and when I attempt to apply it to the local system using Start-DscConfiguration, I am receiving a...
Alkyne asked 29/8, 2014 at 1:4
1 Next >
© 2022 - 2024 — McMap. All rights reserved.