Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function VerifySCP #3

Open
Rouscovitch opened this issue Oct 18, 2022 · 1 comment
Open

Function VerifySCP #3

Rouscovitch opened this issue Oct 18, 2022 · 1 comment

Comments

@Rouscovitch
Copy link

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting

### Minimal steps to reproduce

> run the script and test the SCP 
    For every test, the DC is not recognized because the script do not know the DNS Name of the network.

### Any log messages given by the failure
>

### Expected/desired behavior
replace : 
line 1138    `$DCName=""`
line 1139    `$DCTest=nltest /dsgetdc:`

with : 
line 1138    `$DCName=""`
line 1139    `$DomainName=Get-NetConnectionProfile | Select-Object -ExpandProperty Name`
line 1140    `$DCTest=nltest /dsgetdc:$DomainName`

### OS and Version?
> Windows 11

### Versions
>

### Mention any other details that might be useful

> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.
@Rouscovitch
Copy link
Author

My bad, it does fully work on a registered device.
I was running it on a device I cannot enroll.

So I was using it to find out why I got the time-out while enrolling a device. but it is not meant to do that.
So wrong use.

my bad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant