0%

0/1 Lessons

Course Introduction

• 5min

0 / 2 lessons complete

Getting Started with Windows PowerShell

• 56min

0 / 8 lessons complete

Getting Help and Finding Commands

• 39min

0 / 6 lessons complete

PowerShell Command Syntax

• 33min

0 / 5 lessons complete

PowerShell Objects and Properties

• 35min

0 / 6 lessons complete

The PowerShell Pipeline

• 24min

0 / 2 lessons complete

PowerShell Providers

• 30min

0 / 5 lessons complete

PowerShell Arrays and Variables

• 28min

0 / 4 lessons complete

PowerShell Loops

• 19min

0 / 3 lessons complete

PowerShell Conditional Statements

• 11min

0 / 1 lessons complete

On Premises Lab Setup

• 36min

0 / 8 lessons complete

Basic Domain Administration with Windows PowerShell

• 2hr 27min

0 / 10 lessons complete

Send Emails with PowerShell

• 22min

0 / 2 lessons complete

PowerShell Desired State Configuration (DSC) Basics

• 1hr 48min

0 / 6 lessons complete

PowerShell Modules

• 58min

0 / 7 lessons complete

Powershell Challenges

• 1hr 55min

0 / 23 lessons complete

Course Conclusion

• 1min

0 / 1 lessons complete

Lab: Desired State Configuration (DSC)

Instructions

Q&A (0)

Notes (0)

Resources (0)

Saving Progress...

Resources

There are no resources for this lesson.

Notes can be saved and accessed anywhere in the course. They also double as bookmarks so you can quickly review important lesson material.

Create note

0 0 votes
Lesson Rating
Subscribe
Notify of
profile avatar
5 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

profile avatar
Matthew Stricker(@matthews4)
Member
2 years ago

I am having difficulty getting the PSSession going. There is something about the network discovery that is blocking me, I think.
I have tried the lab twice, now, and both times I had to go to the Advanced Sharing Settings in the Network and Sharing Center and, under the Domain section, I have to “Turn on file and printer sharing” just to get the Test-NetConnection command to work. Even then, the Network discovery is turned off for the domain. It won’t let me turn that on. I’m not sure if I’m doing something wrong, or what.

Both times I attempted the lab, I’ve followed along with the lecture notes.

profile avatar
Ricardo P(@ricardop)
Admin
Reply to  Matthew Stricker
2 years ago

Hi profile avatar Matthew Stricker

Try the lab again, before configuring anything on the machines test from the domain controller:

nslookup sams01
Test-NetConnection -Port 5985 -ComputerName sams01
Test-WSMan -ComputerName sams01
Enter-PSSession -ComputerName sams01

Ricardo

2022-09-22_07-54.png
profile avatar
Matthew Stricker(@matthews4)
Member
Reply to  Ricardo P
2 years ago

Okay, so that worked. I know that it was explained that this is enabled by default. Why wouldn’t it work before, after I went through the motions of ensuring it was enabled through group policy?

profile avatar
dustenm(@dustenm)
Member
2 years ago

Trying to run script for dcs push configuration, keep getting error in line 12 of script for Settings {, says Meta Configuration Resource Settings is not allowed in the regular configuration. Script is identical to the lesson…

profile avatar
Ricardo P(@ricardop)
Admin
Reply to  dustenm
2 years ago

Hi profile avatar Dusten Maxwell

Can you paste a screenshot? I was not able to find any meaningful information in the error message, just generic error information but got this DSC troubleshooting guide:
https://learn.microsoft.com/en-us/powershell/dsc/troubleshooting/troubleshooting?view=dsc-1.1

Ricardo