first commit

This commit is contained in:
Iwan Clement
2020-11-03 18:55:20 +01:00
commit 1808f43f53
12 changed files with 354 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
Configuration StopMaps
{
Import-DscResource -ModuleName PSDesiredStateConfiguration
Node localhost
{
Service DisableMaps
{
Name = "MapsBroker"
StartupType = "Disabled"
State = "Stopped"
}
}
}
Configuration InstalledRoles
{
Param([string[]]$ComputerName = "srv01")
Import-DscResource -ModuleName PSDesiredStateConfiguration
Node $ComputerName
{
WindowsFeature HaveBitLocker
{
Ensure = "Present"
Name = "BitLocker"
}
WindowsFeature NoWebServer
{
Ensure = "Absent"
Name = "Web-Server"
}
}
}