Skip to content

Get EmMdmSoftwareUpdate

DrIOS edited this page Jul 29, 2024 · 1 revision

external help file: MemPolicyManager-help.xml Module Name: MemPolicyManager online version: https://criticalsolutionsnetwork.github.io/MemPolicyManager/#Get-EmMdmSoftwareUpdate schema: 2.0.0

Get-EmMdmSoftwareUpdate

SYNOPSIS

Retrieves Intune Device Update policies from Microsoft Graph.

SYNTAX

Get-EmMdmSoftwareUpdate [[-AuthObject] <EmMdmAuthBase>] [[-graphApiVersion] <String>]
 [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Get-EmMdmSoftwareUpdate cmdlet connects to Microsoft Graph using the specified API version and retrieves Intune Device Update policies. The cmdlet supports both 'beta' and 'v1.0' versions of the Graph API.

EXAMPLES

EXAMPLE 1

Get-EmMdmSoftwareUpdate -graphApiVersion "beta"
This example connects to Microsoft Graph using the 'beta' API version and retrieves Intune Device Update policies.

EXAMPLE 2

Get-EmMdmSoftwareUpdate -graphApiVersion "v1.0"
This example connects to Microsoft Graph using the 'v1.0' API version and retrieves Intune Device Update policies.

PARAMETERS

-AuthObject

The authentication object used for connecting to Microsoft Graph.

Type: EmMdmAuthBase
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-graphApiVersion

The 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: 2
Default value: Beta
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None. This cmdlet does not accept pipeline input.

OUTPUTS

[pscustomobject[]]

The cmdlet returns an array of PSCustomObject representing the Device Update policies.

NOTES

The cmdlet uses the following functions:

  • Connect-EmMdmGraph
  • Get-EmMdmConfigurationAPI
  • Disconnect-MgGraph

RELATED LINKS

https://criticalsolutionsnetwork.github.io/MemPolicyManager/#Get-EmMdmSoftwareUpdate

Clone this wiki locally