Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
Define a configuration and generate the configuration document:
Answer

Define a configuration and generate the configuration document:

Configuration EnvironmentVariable_Path
{ param () Import-DscResource -ModuleName 'PSDscResources' Node localhost { Environment CreatePathEnvironmentVariable { Name = 'TestPathEnvironmentVariable' Value = 'TestValue' Ensure = 'Present' Path = $true Target = @('Process', 'Machine') } }
} EnvironmentVariable_Path -OutputPath:"C:\EnvironmentVariable_Path"

Question
Define a configuration and generate the configuration document:
Answer
?

Question
Define a configuration and generate the configuration document:
Answer

Define a configuration and generate the configuration document:

Configuration EnvironmentVariable_Path
{ param () Import-DscResource -ModuleName 'PSDscResources' Node localhost { Environment CreatePathEnvironmentVariable { Name = 'TestPathEnvironmentVariable' Value = 'TestValue' Ensure = 'Present' Path = $true Target = @('Process', 'Machine') } }
} EnvironmentVariable_Path -OutputPath:"C:\EnvironmentVariable_Path"
If you want to change selection, open document below and click on "Move attachment"

Get started with Desired State Configuration (DSC) for Windows - PowerShell | Microsoft Docs
tion MOF document The Windows PowerShell Configuration keyword is used to create a configuration. The following steps describe the creation of a configuration document using Windows PowerShell. <span>Define a configuration and generate the configuration document: Configuration EnvironmentVariable_Path { param () Import-DscResource -ModuleName 'PSDscResources' Node localhost { Environment CreatePathEnvironmentVariable { Name = 'TestPathEnvironmentVariable' Value = 'TestValue' Ensure = 'Present' Path = $true Target = @('Process', 'Machine') } } } EnvironmentVariable_Path -OutputPath:"C:\EnvironmentVariable_Path" Install a module containing DSC resources Windows PowerShell Desired State Configuration includes built-in modules containing DSC resources. You can also load modules from external sour

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.