-
Notifications
You must be signed in to change notification settings - Fork 0
Get EmMgMetadataXml
external help file: MemPolicyManager-help.xml Module Name: MemPolicyManager online version: https://criticalsolutionsnetwork.github.io/MemPolicyManager/#Get-EmMgMetadataXml schema: 2.0.0
Downloads the Microsoft Graph metadata XML file.
Get-EmMgMetadataXml [-OutputPath] <String> [-graphApiVersion <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
The Get-EmMgMetadataXml cmdlet connects to Microsoft Graph using the specified API version and downloads the metadata XML file to the specified output path. The cmdlet supports both 'beta' and 'v1.0' versions of the Graph API.
Get-EmMgMetadataXml -OutputPath "C:\GraphMetadata\metadata.xml"
This example connects to Microsoft Graph using the 'beta' API version and downloads the metadata XML file to "C:\GraphMetadata\metadata.xml".
Get-EmMgMetadataXml -OutputPath "C:\GraphMetadata\metadata.xml" -graphApiVersion "v1.0"
This example connects to Microsoft Graph using the 'v1.0' API version and downloads the metadata XML file to "C:\GraphMetadata\metadata.xml".
The file path where the metadata XML file will be saved. This parameter is mandatory.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe version of the Microsoft Graph API to use. Valid values are "beta" and "v1.0". The default value is "beta".
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Beta
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
The cmdlet uses the following functions:
- Invoke-WebRequest
https://criticalsolutionsnetwork.github.io/MemPolicyManager/#Get-EmMgMetadataXml