The DSC Book by Don Jones and Melissa Januszko
Author:Don Jones and Melissa Januszko [Don Jones and Melissa Januszko]
Language: eng
Format: epub
Publisher: leanpub.com
Published: 2016-05-18T00:00:00+00:00
Notice the huge Param() block right at the beginning. It wants the name of a virtual machine (VM), the name of a virtual switch, the switch type, a couple of paths, startup memory size, and the state of a VM. Basically, all the core things you need to define a new virtual machine. Youâll notice those parameters - $SwitchName, $Name, and so on - being used throughout the rest of the configuration.
Turning the Configuration into a Resource Module
This gets saved into a special directory structure. It needs to start in one of the folders in the PSModulePath environment variable, such as /Program Files/WindowsPowerShell/modules. So, letâs say we wanted this thing called MyVMMaker - thatâll be the resource name we use to refer to this thing from within another configuration. We want the overall resource module to be called MyVMStuff. Remember, a module can contain multiple resources. Iâll save:
/Program Files/WindowsPowerShell/modules/MyVMStuff/MyVMStuff.psd1
/Program Files/WindowsPowerShell/modules/MyVMStuff/DSCResources/MyVMMaker.psd1
/Program Files/WindowsPowerShell/modules/MyVMStuff/DSCResources/MyVMMaker.schema.psm1
So I need three files. MyVMMaker.schema.psm1 is the configuration that I wrote above. The other two files are manifests, and I need to create those. MyVMMaker.psd1 only needs one line:
1 RootModule = 'MyVMMMaker.schema.psm1'
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
What's Done in Darkness by Kayla Perrin(25488)
Shot Through the Heart: DI Grace Fisher 2 by Isabelle Grey(18208)
Shot Through the Heart by Mercy Celeste(18150)
The Fifty Shades Trilogy & Grey by E L James(17766)
The 3rd Cycle of the Betrayed Series Collection: Extremely Controversial Historical Thrillers (Betrayed Series Boxed set) by McCray Carolyn(13178)
The Subtle Art of Not Giving a F*ck by Mark Manson(12890)
Scorched Earth by Nick Kyme(11821)
Stepbrother Stories 2 - 21 Taboo Story Collection (Brother Sister Stepbrother Stepsister Taboo Pseudo Incest Family Virgin Creampie Pregnant Forced Pregnancy Breeding) by Roxi Harding(11004)
Drei Generationen auf dem Jakobsweg by Stein Pia(10207)
Suna by Ziefle Pia(10176)
Scythe by Neal Shusterman(9249)
International Relations from the Global South; Worlds of Difference; First Edition by Arlene B. Tickner & Karen Smith(8598)
Successful Proposal Strategies for Small Businesses: Using Knowledge Management ot Win Govenment, Private Sector, and International Contracts 3rd Edition by Robert Frey(8403)
This is Going to Hurt by Adam Kay(7674)
Dirty Filthy Fix: A Fixed Trilogy Novella by Laurelin Paige(6444)
He Loves Me...KNOT by RC Boldt(5794)
How to Make Love to a Negro Without Getting Tired by Dany LaFerrière(5365)
Interdimensional Brothel by F4U(5298)
Thankful For Her by Alexa Riley(5148)