We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Get-CIMInstance -CIMSession $DCName -Namespace "root/microsoftdfs" -Class "dfsrreplicatedfolderinfo" -Filter "ReplicatedFolderName = 'SYSVOL Share'" -EA 0 -Verbose:$False | Select-Object State
Switch($Result.State) { 0 {$SysvolState = "0 = Uninitialized"; Break} 1 {$SysvolState = "1 = Initialized"; Break} 2 {$SysvolState = "2 = Initial Sync"; Break} 3 {$SysvolState = "3 = Auto Recovery"; Break} 4 {$SysvolState = "4 = Normal"; Break} 5 {$SysvolState = "5 = In Error"; Break} Default {$SysvolState = "Unable to determine the SYSVOL State: $($Result.State)"; Break} }
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Add Missing Subnet in AD AsBuiltReport#110 Add Domain Controller SYSV…
2cba54c
…OL State Data healthcheck AsBuiltReport#109
Add Domain Controller SYSVOL State Data healthcheck AsBuiltReport#109
bad7811
Successfully merging a pull request may close this issue.
Get-CIMInstance -CIMSession $DCName -Namespace "root/microsoftdfs" -Class "dfsrreplicatedfolderinfo" -Filter "ReplicatedFolderName = 'SYSVOL Share'" -EA 0 -Verbose:$False | Select-Object State
The text was updated successfully, but these errors were encountered: