Examples/Deploy_MDT_Server_ConfigurationData.psd1
@{ AllNodes = @( @{ #Global Settings for the configuration of Desired State Local Configuration Manager: NodeName = "*" PSDscAllowPlainTextPassword = $true PSDscAllowDomainUser = $true RebootNodeIfNeeded = $true ConfigurationMode = "ApplyAndAutoCorrect" }, @{ #Node Settings for the configuration of an MDT Server: NodeName = "$env:computername" Role = "MDT Server" #SMB or web link to a pull server SourcePath = "c:\sources" #Local account to create for MDT MDTLocalAccount = "SVCMDTConnect001" MDTLocalPassword = "P@ssW0rD!" #Download and extraction temporary folder TempLocation = "C:\Temp" #MDT deoployment share paths PSDriveName = "DS001" PSDrivePath = "C:\DeploymentShare" #SMB share name PSDriveShareName = "DeploymentShare$" #Operating system MDT directory information OSDirectories = @( @{ Ensure = "Present" OperatingSystem = "Windows 10" } ) #Driver vendor MDT information Vendors = @( @{ Ensure = "Present" Vendor = "Dell Inc." } @{ Ensure = "Present" Vendor = "Hewlett Packard." } @{ Ensure = "Present" Vendor = "Lenovo." } ) #Selection profile creation SelectionProfiles = @("WinPE x86","WinPE x64") #Operating systems to import to MDT OperatingSystems = @( @{ Ensure = "Present" Name = "Windows 10 Enterprise x64" Version = "1.0.0.0" Path = "\Operating Systems\Windows 10" SourcePath = "/Install" } ) #Task sqeuences; are dependent on imported Operating system in MDT TaskSequences = @( @{ Ensure = "Present" Name = "Windows 10 x64" Path = "\Task Sequences\Windows 10" WIMFileName = "Install" ID = "01" } ) <# #Drivers to import Drivers = @( @{ Ensure = "Present" Name = "Latitude 3340" Version = "6.0.1.6070_A00" Path = "\Out-of-Box Drivers\Windows 10 x64\Dell Inc." SourcePath = "/Audio_Driver_5P33P_WN32" Comment = "Drivers for Dell Latitude 3340 Laptops" } ) #Applications to import Applications = @( @{ Ensure = "Present" Name = "Teamviewer" Version = "1.0.0.0" Path = "\Applications\Core Applications" ShortName = "Teamviewer" Publisher = "Teamviewer" Language = "en-US" CommandLine = "install.cmd" WorkingDirectory = ".\" ApplicationSourcePath = "/TeamViewer_Setup_sv" DestinationFolder = "Teamviewer" } ) #Custom folder/files to add to the MDT CustomSettings = @( @{ Ensure = "Present" Name = "PEExtraFiles" Version = "1.0.0.0" SourcePath = "/PEExtraFiles" } @{ Ensure = "Present" Name = "Scripts" Version = "1.0.0.0" SourcePath = "/Scripts" Protected = $true } ) #> #Custom settings and boot ini file management CustomizeIniFiles = @( @{ Ensure = "Present" Name = "CustomSettingsIni" Path = "\Control\CustomSettings.ini" JoinDomain = "ad.company.net" DomainAdmin = "DomainJoinAccount" DomainAdminDomain = "ad.company.net" DomainAdminPassword = "DomainJoinAccountPassword" MachineObjectOU = "OU=Clients,OU=company,DC=ad,DC=company,DC=net" } @{ Ensure = "Present" Name = "BootstrapIni" Path = "\Control\Bootstrap.ini" DeployRoot = "\DeploymentShare$" } ) #Boot image creation and management BootImage = @( @{ Ensure = "Present" Name = "BootImage" Version = "1.0.0.0" Path = "\Boot\LiteTouchPE_x64.wim" ImageName = "LiteTouchTest X64" ExtraDirectory = "PEExtraFiles" BackgroundFile = "PEExtraFiles\background.bmp" LiteTouchWIMDescription = "Customer Deployment" } ) } ); } |