DSC Need help

J

Jimmy Anderson 88

Hi Guys,

I want to implement dsc in our company to automate server creation and to minimize admin tasks as much as possible. I understand pretty much how this works but I need help with few questions. I really hope that someone who is working with this answer and help me.

1) What mode do you use when creating DC? Do you use Autocorrect or apply only? I am afraid of autcorrect because if I try to add users after applying the config the dsc will delete those users and any change that is made after pushing/pulling the file. (What is the real scenario for this)?

2) I have really hard time to understand from where comes the configration data fields from? Can we use any word we like or? I am using ISE and I don't find ise intellisense for configuration data, I mean the structure. Example


@{
AllNodes =
@(
@{
NodeName = 'VM-1'
FeatureName = 'Web-Server'
DestinationPath = <path>
Stuff = <something here>

or this one PSDscAllowPlainTextPassword --> how to know that I need to type that whole word and

not only password



Where is this featurename come from (I don't talk here about Web-Server part that comes after =) I am talking about featurename field, someone has the DCFeature and someone has something else? How to know what to put there?


3) Last question is what you guys are using in real scenarions push or pull method?

I hope that this is not much and that someone can help me?

Thank you in advance.

Continue reading...
 
Back
Top Bottom