dsccommunity / ComputerManagementDsc

DSC resources for for configuration of a Windows computer. These DSC resources allow you to perform computer management tasks, such as renaming the computer, joining a domain and scheduling tasks as well as configuring items such as virtual memory, event logs, time zones and power settings.
https://dsccommunity.org
MIT License
300 stars 83 forks source link

Consider adding 'Source' to WindowsCapability #361

Closed brwilkinson closed 3 years ago

brwilkinson commented 3 years ago

Consider adding support for offline capability installs.

image

current:

WindowsCapability [String] #ResourceName                                                                                                                                                                                                               {                                                                                                                                                                                                                                                          Name = [string]
    [DependsOn = [string[]]]
    [Ensure = [string]{ Absent | Present }]
    [LogLevel = [string]{ Errors | Warnings | WarningsInfo }]
    [LogPath = [string]]
    [PsDscRunAsCredential = [PSCredential]]
}

proposed:

WindowsCapability [String] #ResourceName                                                                                                                                                                                                               {                                                                                                                                                                                                                                                          Name = [string]
    [DependsOn = [string[]]]
    [Ensure = [string]{ Absent | Present }]
    [LogLevel = [string]{ Errors | Warnings | WarningsInfo }]
    [LogPath = [string]]
    [PsDscRunAsCredential = [PSCredential]]
    [Source =  [string]]
}
PlagueHO commented 3 years ago

Thanks for submitting this.