Skip to content
This repository has been archived by the owner on May 15, 2018. It is now read-only.

Resource updates #68

Merged
merged 6 commits into from
Oct 9, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
######################################################################################
function Get-TargetResource
{
[OutputType([hashtable])]
param
(
[Parameter(Mandatory)]
Expand All @@ -21,7 +22,7 @@ function Get-TargetResource
[ValidateNotNullOrEmpty()]
[String]$InterfaceAlias,

[Int]$SubnetMask = 16,
[byte]$SubnetMask = 16,

[ValidateNotNullOrEmpty()]
[String]$DefaultGateway,
Expand Down Expand Up @@ -59,7 +60,7 @@ function Set-TargetResource
[ValidateNotNullOrEmpty()]
[String]$InterfaceAlias,

[Int]$SubnetMask,
[byte]$SubnetMask,

[ValidateNotNullOrEmpty()]
[String]$DefaultGateway,
Expand All @@ -78,6 +79,7 @@ function Set-TargetResource
######################################################################################
function Test-TargetResource
{
[OutputType([bool])]
param
(
[Parameter(Mandatory)]
Expand All @@ -88,7 +90,7 @@ function Test-TargetResource
[ValidateNotNullOrEmpty()]
[String]$InterfaceAlias,

[Int]$SubnetMask,
[byte]$SubnetMask,

[ValidateNotNullOrEmpty()]
[String]$DefaultGateway,
Expand Down Expand Up @@ -120,7 +122,7 @@ function ValidateProperties
[ValidateNotNullOrEmpty()]
[String]$DefaultGateway,

[Int]$SubnetMask = 16,
[byte]$SubnetMask = 16,

[ValidateSet("IPv4", "IPv6")]
[String]$AddressFamily = "IPv4",
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion Resources/cNetworking/cNetworking.psd1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@{
# Version number of this module.
ModuleVersion = '2.0'
ModuleVersion = '2.0.1'

# ID used to uniquely identify this module
GUID = 'e6647cc3-ce9c-4c86-9eb8-2ee8919bf358'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#
function Get-TargetResource
{
[OutputType([hashtable])]
param
(
[parameter(Mandatory)]
Expand Down Expand Up @@ -161,6 +162,7 @@ function Set-TargetResource
#
function Test-TargetResource
{
[OutputType([bool])]
param
(
[parameter(Mandatory)]
Expand Down
Binary file not shown.
157 changes: 0 additions & 157 deletions Resources/cSqlPs/DSCResources/cSqlHAEndPoint/cSqlHAEndPoint.psm1

This file was deleted.

This file was deleted.