Skip to content

Error fsmoroleHTML #4

@Tynecider

Description

@Tynecider

Good day chrisdee,
Running your script produces this error:

PS C:\Automation> C:\Test\CD-HealthChecks.ps1 -domainName xxxxx.org.uk -ReportFile
..domain name specified on cmdline
..testing domain xxxxx.org.uk
..testing domain controller (1 of 1) server01.xxxxx.org.uk
Remove-Variable : Cannot find a variable with the name 'fsmoRoleHTML'.
At C:\Automation\DC-HealthChecks.ps1:493 char:13

  •         Remove-Variable fsmoRoleHTML
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (fsmoRoleHTML:String) [Remove-Variable], ItemNotFoundException
    • FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand

Running on PS 5.1 Server 2012
please help :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions