Remove-CapaProfileFromDevice
Remove-CapaProfileFromDevice
SYNOPSIS
This function will remove a profile from a device.
SYNTAX
NameType
Remove-CapaProfileFromDevice -CapaSDK <Object> -UnitName <string> -ProfileName <string>
-ChangelogComment <string> [<CommonParameters>]
Uuid
Remove-CapaProfileFromDevice -CapaSDK <Object> -UUID <string> -ProfileName <string>
-ChangelogComment <string> [<CommonParameters>]
ALIASES
This cmdlet has the following aliases,
DESCRIPTION
This function will remove a profile from a device, subsequently when the device reports successful removal of the profile, the relation is then removed from the database
EXAMPLES
EXAMPLE 1
Remove-CapaProfileFromDevice -CapaSDK $CapaSDK -UnitName ‘Testdev01’ -ProfileName ‘Wi-Fi settings’
EXAMPLE 2
Remove-CapaProfileFromDevice -CapaSDK $CapaSDK -Uuid ‘4eea2959-fb4c-4afe-b61f-810cb3019cd6’ -ProfileName ‘Wi-Fi settings’
EXAMPLE 3
Remove-CapaProfileFromDevice -CapaSDK $CapaSDK -UnitName ‘Testdev01’ -ProfileName ‘Wi-Fi settings’ -ChangelogComment ‘Removing profile from device’
PARAMETERS
-CapaSDK
The CapaSDK object.
Type: System.Object
DefaultValue: ''
SupportsWildcards: false
ParameterValue: []
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-ChangelogComment
The comment that will be added to the changelog.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
ParameterValue: []
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-ProfileName
The name of the MDM profile.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
ParameterValue: []
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-UnitName
The unit name of the unit.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
ParameterValue: []
Aliases: []
ParameterSets:
- Name: NameType
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-UUID
The UUID of the unit.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
ParameterValue: []
Aliases: []
ParameterSets:
- Name: Uuid
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
NOTES
For more information, see https://capasystems.atlassian.net/wiki/spaces/CI64DOC/pages/19306246487/Remove+profile+from+device