Skip to content

Function VerifySCP #3

Description

@Rouscovitch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions