Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

cNetworkPolicyServer

This repository contains the cNetworkPolicyServer Powershell module, containing Microsoft Windows PowerShell Desired State Configuration (DSC) resources to monitor and import a Network Policy Server (NPS) configuration file.

Resources

  • ESNAD_cNpsConfiguration Works best in conjunction with xRemoteFile to monitor a NPS configuration. (For example if you use RDG/MFA)

ESNAD_cNpsConfiguration

  • ConfigurationFile Location of the 'baseline' file.

Examples

configuration Sample_Set_NPS_Configuration
{
	xRemoteFile GetRdgConfig
	{
		Uri = 'https://storageaccountname.blob.core.windows.net/scripts/rdgconfig.xml'
		DestinationPath = 'c:\windows\temp\reference.xml'
		MatchSource = $true
	}

	ESNAD_cNpsConfiguration SetNPSConfiguration
	{
		ConfigurationFile = 'c:\windows\temp\reference.xml'
		DependsOn = '[xRemoteFile]GetRdgConfig'
	}
	
	ESNAD_cRemoteDesktopGatewayServer setRdgCentralCAP
	{
		CentralCAPEnabled = 1
		DependsOn = '[ESNAD_cNpsConfiguration]SetNPSConfiguration'
	}
}
Sample_Set_NPS_Configuration

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages