< Back

Invoke-AnalyzeMDMEnrollmentStatus

Sat Jan 18, 2020 4:20 pm

NAME Invoke-AnalyzeMDMEnrollmentStatus



SYNOPSIS

Analyzes current status of the device regarding Intune/MDM enrollment.





SYNTAX

Invoke-AnalyzeMDMEnrollmentStatus [-IncludeEventLog] [[-UPNDomain] <String>] [<CommonParameters>]





DESCRIPTION

Analyzes current status of the device regarding Intune/MDM enrollment.



Returns array of Messages with four properties:



- Testname: Name of the Tets

- Type: Information, Warning or Error

- Issue: Description of the issue

- Possible Cause: Tips on how to solve the issue.





PARAMETERS

-IncludeEventLog [<SwitchParameter>]

By specifying this command also the most relevant Windows Event Log entries from the last 10 Minutes related

to MDMe Enrollment are included in the Output of this CmdLet.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-UPNDomain <String>

If you specify the UPN Domain od you users also the DNS Cnames are checked. Specify just the domain like

"contoso.com".



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\># Displays a deep analyisis of the currently found issues in the system.



Invoke-AnalyzeMDMIntuneEnrollmentStatus









-------------------------- EXAMPLE 2 --------------------------



PS C:\\># Displays a deep analyisis of the currently found issues in the system including DNS analysis.



Invoke-AnalyzeMDMIntuneEnrollmentStatus -UPNDomain "contoso.com"











RELATED LINKS