< Back
New-DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles
Post
NAME New-DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles
SYNOPSIS
Creates a "microsoft.graph.windowsInformationProtectionAppLockerFile" object.
SYNTAX
New-DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles -appliedPolicyODataType
<string> -managedAppPolicyId <string> -managedAppRegistrationId <string> [-displayName <string>] [-file <byte[]>]
[-fileHash <string>] [-version <string>] [<CommonParameters>]
New-DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles -appliedPolicyODataType
<string> -managedAppPolicyId <string> -managedAppRegistrationId <string> -ODataType <string> [-displayName
<string>] [-file <byte[]>] [-fileHash <string>] [-version <string>] [<CommonParameters>]
DESCRIPTION
Adds a "microsoft.graph.windowsInformationProtectionAppLockerFile" object to the "exemptAppLockerFiles" collection.
Another way to input exempt apps through xml files
Graph call: POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedA
ppPolicyId}/{appliedPolicyODataType}/exemptAppLockerFiles
PARAMETERS
-managedAppRegistrationId <string>
A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the
"managedAppRegistrations" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-managedAppPolicyId <string>
A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-appliedPolicyODataType <string>
A required type cast for referencing properties that exist only on certain types of
"microsoft.graph.managedAppPolicy" objects.
Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection',
'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy',
'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration',
'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection',
'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection',
'microsoft.graph.iosManagedAppProtection'
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-displayName <string>
The "displayName" property, of type "Edm.String".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
The friendly name
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-fileHash <string>
The "fileHash" property, of type "Edm.String".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
SHA256 hash of the file
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-file <byte[]>
The "file" property, of type "Edm.Binary".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
File as a byte array
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-version <string>
The "version" property, of type "Edm.String".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
Version of the entity.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-ODataType <string>
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-@odata.type <string>
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
This is an alias of the ODataType parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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
System.String
A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the
"managedAppRegistrations" collection.
System.String
A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.
System.String
A required type cast for referencing properties that exist only on certain types of
"microsoft.graph.managedAppPolicy" objects.
Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection',
'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy',
'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration',
'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection',
'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection',
'microsoft.graph.iosManagedAppProtection'
System.String
The "displayName" property, of type "Edm.String".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
The friendly name
System.String
The "fileHash" property, of type "Edm.String".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
SHA256 hash of the file
System.Byte[]
The "file" property, of type "Edm.Binary".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
File as a byte array
System.String
The "version" property, of type "Edm.String".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
Version of the entity.
System.String
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK
SYNOPSIS
Creates a "microsoft.graph.windowsInformationProtectionAppLockerFile" object.
SYNTAX
New-DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles -appliedPolicyODataType
<string> -managedAppPolicyId <string> -managedAppRegistrationId <string> [-displayName <string>] [-file <byte[]>]
[-fileHash <string>] [-version <string>] [<CommonParameters>]
New-DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles -appliedPolicyODataType
<string> -managedAppPolicyId <string> -managedAppRegistrationId <string> -ODataType <string> [-displayName
<string>] [-file <byte[]>] [-fileHash <string>] [-version <string>] [<CommonParameters>]
DESCRIPTION
Adds a "microsoft.graph.windowsInformationProtectionAppLockerFile" object to the "exemptAppLockerFiles" collection.
Another way to input exempt apps through xml files
Graph call: POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedA
ppPolicyId}/{appliedPolicyODataType}/exemptAppLockerFiles
PARAMETERS
-managedAppRegistrationId <string>
A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the
"managedAppRegistrations" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-managedAppPolicyId <string>
A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-appliedPolicyODataType <string>
A required type cast for referencing properties that exist only on certain types of
"microsoft.graph.managedAppPolicy" objects.
Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection',
'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy',
'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration',
'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection',
'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection',
'microsoft.graph.iosManagedAppProtection'
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-displayName <string>
The "displayName" property, of type "Edm.String".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
The friendly name
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-fileHash <string>
The "fileHash" property, of type "Edm.String".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
SHA256 hash of the file
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-file <byte[]>
The "file" property, of type "Edm.Binary".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
File as a byte array
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-version <string>
The "version" property, of type "Edm.String".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
Version of the entity.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-ODataType <string>
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-@odata.type <string>
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
This is an alias of the ODataType parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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
System.String
A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the
"managedAppRegistrations" collection.
System.String
A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.
System.String
A required type cast for referencing properties that exist only on certain types of
"microsoft.graph.managedAppPolicy" objects.
Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection',
'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy',
'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration',
'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection',
'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection',
'microsoft.graph.iosManagedAppProtection'
System.String
The "displayName" property, of type "Edm.String".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
The friendly name
System.String
The "fileHash" property, of type "Edm.String".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
SHA256 hash of the file
System.Byte[]
The "file" property, of type "Edm.Binary".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
File as a byte array
System.String
The "version" property, of type "Edm.String".
This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type.
Version of the entity.
System.String
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK