Hello.
I as well recently brought the book off of Amazon called The Windows-noob OSD Guides for ConfigMgr 2012 R2 by Niall Brady. I learned of the Book after attending the last AZSMUG event at Interface Technical Training in Phoenix AZ where I watched 2 very informative and well done presentations by Mike Terril and Johan Arwidmark and at that time I was told about the books and the use of Hydration kits to create home labs so I can get experience and practice for certification.
I went right home and purchased your your Book and a 1TB SSD and have a system ready to go with 32GB of RAM. I am running Windows 10 Enterprise and I continuously run into issues with the scripts and getting the Hydration Kit installs to go smoothly and was hoping I could ask a question about my latest issue.
At the following location in the book - Page 415 Step 4 - When I run the "CreateHydrationDeploymentShare.ps1" I get the following red output in my PS window and I am not able to see any deployment shares created in the Deployment Workbench that matches the screenshot in the book on Step 5.
New-Item : A parameter cannot be found that matches parameter name 'enable'.
At C:\HydrationNoob\Source\CreateHydrationDeploymentShare.ps1:33 char:31
Directory: C:\HydrationNoob
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 1/7/2017 10:04 AM DS
add-MDTPersistentDrive : The term 'add-MDTPersistentDrive' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At C:\HydrationNoob\Source\CreateHydrationDeploymentShare.ps1:30 char:173
+ ... \$MDTServer\HydrationNoob$" -Verbose | add-MDTPersistentDrive -Verbos ...
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (add-MDTPersistentDrive:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Directory: C:\HydrationNoob\ISO\Content
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 1/7/2017 10:04 AM Deploy
New-Item : A parameter cannot be found that matches parameter name 'enable'.
At C:\HydrationNoob\Source\CreateHydrationDeploymentShare.ps1:33 char:31
+ new-item -path "DS001:\Media" -enable "True" -Name "MEDIA001" -Commen ...
+ ~~~~~~~
+ CategoryInfo : InvalidArgument: ( [New-Item], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.NewItemCommand
New-PSDrive : A parameter cannot be found that matches parameter name 'Force'.
At C:\HydrationNoob\Source\CreateHydrationDeploymentShare.ps1:34 char:141
+ ... ntent\Deploy" -Description "Hydration CM2012 R2 Media" -Force -Verbos ...
+ ~~~~~~
+ CategoryInfo : InvalidArgument: ( [New-PSDrive], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.NewPSDriveCommand
If you had some free time to assist me with how to best get past this issue so I can get the lab setup I would be extremely grateful for your time.
Thank you