Skip to content

Commit

Permalink
Changes as per PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
PlagueHO committed Sep 24, 2021
1 parent a333831 commit cbf6975
Show file tree
Hide file tree
Showing 17 changed files with 51 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"powershell.codeFormatting.whitespaceAroundOperator": true,
"powershell.codeFormatting.whitespaceAfterSeparator": true,
"powershell.codeFormatting.ignoreOneLineBlock": false,
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationAfterEveryPipeline",
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline",
"powershell.codeFormatting.preset": "Custom",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The supported version of this module is available as

> Note: New features are no longer being added to the **PSDscResource`** module.
> If you require new features, please migrate to **xPSDesiredStateConfiguration**
> and request the features against that module.
> and request the features against this module.
This module is automatically tested using PowerShell 5.1 on servers running
Windows 2012 R2 and Windows 2016, and is expected to work on other operating
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[Description("The xMsiPackage resource is used to manage MSI files.") : Amended,AMENDMENT, LOCALE("MS_409")]
[Description("The xMsiPackage resource is used to manage MSI files.") : Amended,AMENDMENT, LOCALE("MS_409")]
[Description("The xPackage resource is used to install or uninstall a package on the host.") : Amended,AMENDMENT, LOCALE("MS_409")]
class DSC_xPackageResource : OMI_BaseResource
{
[Key, Description("The name of the package to be added or removed.") : Amended] string Name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Configuration xDscWebService_Preferred_Config
$ApplicationPoolName
)

Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName NetworkingDsc -ModuleVersion 7.4.0.0
Import-DscResource -ModuleName xWebAdministration -ModuleVersion 3.0.0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Configuration xDscWebService_RegistrationUseSQLProvider_Config
$Port = 8080
)

Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName NetworkingDsc -ModuleVersion 7.4.0.0
# To explicitly import the resource WindowsFeature and File.
Import-DscResource -ModuleName PSDesiredStateConfiguration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Configuration xDscWebService_RegistrationWin2k12and2k12R2_Config
$Port = 8080
)

Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName NetworkingDsc -ModuleVersion 7.4.0.0
# To explicitly import the resource WindowsFeature and File.
Import-DscResource -ModuleName PSDesiredStateConfiguration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Configuration xDscWebService_Registration_Config
$Port = 8080
)

Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName NetworkingDsc -ModuleVersion 7.4.0.0

Node localhost
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Configuration xDscWebService_RegistrationWithSecurityBestPractices_Config
$Port = 8080
)

Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName NetworkingDsc -ModuleVersion 7.4.0.0
# To explicitly import the resource WindowsFeature and File.
Import-DscResource -ModuleName PSDesiredStateConfiguration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#>
configuration xDscWebService_Removal_Config
{
Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration

Node localhost
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Configuration xUser_CreateUser_Config
$Credential
)

Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration

Node localhost
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Configuration xUser_CreateUserDetailed_Config
$Disabled
)

Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration

Node localhost
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Configuration xUser_RemoveUser_Config
$UserName
)

Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration

Node localhost
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Configuration xWindowsProcess_StartProcess_Config
$Argument
)

Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration

Node localhost
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Configuration xWindowsProcess_StartProcessUnderUser_Config
$Credential
)

Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration

Node localhost
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Configuration xWindowsProcess_StopProcess_Config
$Argument
)

Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration

Node localhost
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Configuration xWindowsProcess_StopProcessUnderUser_Config
$Credential
)

Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration

Node localhost
{
Expand Down
35 changes: 35 additions & 0 deletions source/WikiSource/Home.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Welcome to the xPSDesiredStateConfiguration wiki

<sup>*xPSDesiredStateConfiguration v#.#.#*</sup>

Here you will find all the information you need to make use of the xPSDesiredStateConfiguration
DSC resources, including details of the resources that are available, current
capabilities and known issues, and information to help plan a DSC based
implementation of xPSDesiredStateConfiguration.

Please leave comments, feature requests, and bug reports in then
[issues section](https://github.com/dsccommunity/xPSDesiredStateConfiguration/issues) for this module.

## Getting started

To get started download xPSDesiredStateConfiguration from the [PowerShell Gallery](http://www.powershellgallery.com/packages/xPSDesiredStateConfiguration/)
and then unzip it to one of your PowerShell modules folders
(such as $env:ProgramFiles\WindowsPowerShell\Modules).

To install from the PowerShell gallery using PowerShellGet (in PowerShell 5.0)
run the following command:

```powershell
Find-Module -Name xPSDesiredStateConfiguration -Repository PSGallery | Install-Module
```

To confirm installation, run the below command and ensure you see the xPSDesiredStateConfiguration
DSC resources available:

```powershell
Get-DscResource -Module xPSDesiredStateConfiguration
```

## Change Log

A full list of changes in each version can be found in the [change log](https://github.com/dsccommunity/xPSDesiredStateConfiguration/blob/main/CHANGELOG.md).

0 comments on commit cbf6975

Please sign in to comment.