Lab: Desired State Configuration (DSC)

Sign up to access this lesson

Click here to sign up and get access to this lesson!

Saving Progress...

Saving Progress...

0 0 votes
Lesson Rating
Notify of
Newest Most Voted
Inline Feedbacks
View all comments
profile avatar
Matthew Stricker(@matthews4)
Points: 770
2 months 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)
Power Student
Points: 16154
Reply to  Matthew Stricker
2 months 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


profile avatar
Matthew Stricker(@matthews4)
Points: 770
Reply to  Ricardo P
2 months 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?

Administration and Automation with Windows PowerShell


0/1 Lessons

Course Introduction

• 5min

0 / 2 lessons complete

Getting Started with Windows PowerShell

• 42min

0 / 7 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

Course Conclusion

• 1min

0 / 1 lessons complete