Skip to content
This repository has been archived by the owner on Dec 26, 2017. It is now read-only.

Content from my demonstration at the Melbourne PowerShell user group in December 2016

License

Notifications You must be signed in to change notification settings

chrisbrownie/PowerShellUG-AdfsDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerShellUG-AdfsDemo

Content from my demonstration at the Melbourne PowerShell meetup in December 2016.

The environment

If you want to just skip ahead, here's the environment as built:

Hostname Operating System IP Address(es) Role
DC01 Windows Server 2016 Standard 192.168.1.20 Domain Controller, Certificate Authority
FS01 Windows Server 2016 Standard 192.168.1.50 AD FS Server
CL01 Windows Server 2016 Standard 192.168.1.101 Client Computer

The code

terraform

This directory contains the content used by Terraform to create this lab.

File Purpose
data.tf This file is used for pulling data from providers that will be used in the Terraform template. In this instance, it pulls the ID of the latest Windows Server 2016 (English) AMI
ec2-dc.tf This file is used to provision the domain controller, DC
ec2-fs.tf This file is used to provision the member server, FS
ec2-cl01.tf This file is used to provisoin the "client", CL01
outputs.tf This file determines the Terraform outputs
providers.tf This file configures the providers (AWS, in this case)
securitygroups.tf This file configures security groups to allow instances to access each other, the Internet, and to allow RDP/HTTP/HTTPS access inbound
variables.tf This file configures variables used elsewhere in the Terraform configuration
vpc.tf This file configures the VPC that lives underneath the preceding infrastructure
dsc/ConfigureDC.ps1 This script is run as part of the user data for the DC instance. It installs the DSC prerequisites and kicks off the DSC script. This script is pulled from its URL at instance boot time.
dsc/ConfigureFS.ps1 This script is run as part of the user data for the FS instance. It installs the DSC prerequisites and kicks off the DSC script. This script is pulled from its URL at instance boot time.
dsc/ConfigureCL01.ps1 This script is run as part of the user data for the CL01 instance. It installs the DSC prerequisites and kicks off the DSC script. This script is pulled from its URL at instance boot time.
dsc/DSC-DC.ps1 This script configures the domain controller instance with AD DS, DNS Server, and AD CS
dsc/DSC-fs.ps1 This script configures the basics of the FS instance, just the DNS Client and domain membership
dsc/DSC-CL01.ps1 This script configures the basics of the CL01 instance, just the DNS Client and domain membership

adfsscripts

File Purpose
1-InstallAdfs.ps1 This script installs AD FS
2-ConfigureAdfs.ps1 This script retrieves a certificate from the domain CA and configures AD FS
3-ConfigureAdfsBestPractices.ps1 This script configures the AD FS instance to meet Best Practices
4-Invoke-AdfsBranding.ps1 This script brands and customises the AD FS instance
AdfsTests.Tests.ps1 This is a pester tests file for testing that the AD FS environment meets a number of requirements

References

About

Content from my demonstration at the Melbourne PowerShell user group in December 2016

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages