Skip to content

rsWinAutomationSupport/rsBGInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsBGInfo

The rsBGInfo composite DSC resource module can be used to deploy BGInfo utility and accompanying configuration (.bgi) file. Only the Ensure parameter is mandatory. All other parameters come with default values, but can be overridden to suit most use-cases.

Parameters

Versions

1.0.0

  • Initial release
    • Download and deployment of BGInfo utility from a URL
    • Download and deployment of BGInfo utility configuration file form a URL

Examples

Deploy BGInfo with default configuration:

Configuration Sample_default_BGInfo
{
	param
	(
		[string[]]$NodeName = 'localhost'
	)
	Import-DscResource -Module rsBGInfo 
	Node $NodeName
	{
		rsBGInfo DeployBGInfo
		{
			Ensure       = "Present"
		}
	}
}

Deploy BGInfo with custom configuration file in an alternate location:

Configuration Custom_confFile_BGInfo
{
	param
	(
		[string[]]$NodeName = 'localhost'
	)
	Import-DscResource -Module rsBGInfo 
	Node $NodeName
	{
		rsBGInfo DeployCustomBGInfo
		{
			Ensure       = "Present"
			ConfSrc      = "http://some_other/location/my_config.bgi"
			ConfPath     = "C:\Program Files\BgInfo"
		}
	}
}

About

DSC Composite Resource module to deploy BGInfo on to managed nodes

Resources

Stars

Watchers

Forks

Packages

No packages published