-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #414 from MKletz/Issue413
Proposed fix for Issue #413
- Loading branch information
Showing
6 changed files
with
133 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
Examples/Resources/NetBios/2-NetBios_DisableNetBios_Config_Wildcard.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<#PSScriptInfo | ||
.VERSION 1.0.0 | ||
.GUID b43f8fac-cc5a-45ec-ab7d-344dff0b31e7 | ||
.AUTHOR Mike Kletz | ||
.COMPANYNAME | ||
.COPYRIGHT | ||
.TAGS DSCConfiguration | ||
.LICENSEURI https://github.com/PowerShell/NetworkingDsc/blob/master/LICENSE | ||
.PROJECTURI https://github.com/PowerShell/NetworkingDsc | ||
.ICONURI | ||
.EXTERNALMODULEDEPENDENCIES | ||
.REQUIREDSCRIPTS | ||
.EXTERNALSCRIPTDEPENDENCIES | ||
.RELEASENOTES First version. | ||
.PRIVATEDATA 2016-Datacenter,2016-Datacenter-Server-Core | ||
#> | ||
|
||
#Requires -module NetworkingDsc | ||
|
||
<# | ||
.DESCRIPTION | ||
Disable NetBios on all adapters. | ||
#> | ||
Configuration NetBios_DisableNetBios_Config_Wildcard | ||
{ | ||
Import-DscResource -ModuleName NetworkingDsc | ||
|
||
Node localhost | ||
{ | ||
NetBios DisableNetBios | ||
{ | ||
InterfaceAlias = '*' | ||
Setting = 'Disable' | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters