Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generates docs for aliased cmdlets #565

Merged
merged 4 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions azure-pipelines/powershell-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,13 @@ extends:
targetType: 'filePath'
pwsh: true
filePath: scripts/RemoveBoilerPlateCode.ps1
- task: PowerShell@2
displayName: 'Generate missing docs for aliased cmdlets'
continueOnError: false
inputs:
targetType: 'filePath'
pwsh: true
filePath: scripts/GenerateAliasedDocs.ps1
- task: PowerShell@2
displayName: Pushing to github
env:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
---
external help file: Microsoft.Graph.Applications-help.xml
Module Name: Microsoft.Graph.Applications
online version: https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationAppManagementPolicyByRef
schema: 2.0.0
---

# Remove-MgApplicationAppManagementPolicyByRef

## SYNOPSIS
Delete ref of navigation property appManagementPolicies for applications

> [!NOTE]
> To view the beta release of this cmdlet, view [Remove-MgBetaApplicationAppManagementPolicyAppManagementPolicyByRef](/powershell/module/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationAppManagementPolicyAppManagementPolicyByRef?view=graph-powershell-beta)

## SYNTAX

### Delete (Default)
```
Remove-MgApplicationAppManagementPolicyByRef -AppManagementPolicyId <String>
-ApplicationId <String> [-IfMatch <String>] [-ResponseHeadersVariable <String>] [-Headers <IDictionary>]
[-PassThru] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

### DeleteViaIdentity
```
Remove-MgApplicationAppManagementPolicyByRef -InputObject <IApplicationsIdentity>
[-IfMatch <String>] [-ResponseHeadersVariable <String>] [-Headers <IDictionary>] [-PassThru]
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Delete ref of navigation property appManagementPolicies for applications

## PARAMETERS

### -ApplicationId
The unique identifier of application

```yaml
Type: String
Parameter Sets: Delete
Aliases:

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

### -AppManagementPolicyId
The unique identifier of appManagementPolicy

```yaml
Type: String
Parameter Sets: Delete
Aliases:

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

### -Headers
Optional headers that will be added to the request.

```yaml
Type: IDictionary
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```

### -IfMatch
ETag

```yaml
Type: String
Parameter Sets: (All)
Aliases:

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

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: IApplicationsIdentity
Parameter Sets: DeleteViaIdentity
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```

### -PassThru
Returns true when the command succeeds

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

### -ProgressAction
{{ Fill ProgressAction Description }}

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

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

### -ResponseHeadersVariable
Optional Response Headers Variable.

```yaml
Type: String
Parameter Sets: (All)
Aliases: RHV

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

### -Confirm
Prompts you for confirmation before running the cmdlet.

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

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

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

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

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](http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### Microsoft.Graph.PowerShell.Models.IApplicationsIdentity
### System.Collections.IDictionary
## OUTPUTS

### System.Boolean
## NOTES
COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties.
For information on hash tables, run Get-Help about_Hash_Tables.

INPUTOBJECT `<IApplicationsIdentity>`: Identity Parameter
- `[AppId <String>]`: Alternate key of application
- `[AppManagementPolicyId <String>]`: The unique identifier of appManagementPolicy
- `[AppRoleAssignmentId <String>]`: The unique identifier of appRoleAssignment
- `[ApplicationId <String>]`: The unique identifier of application
- `[ApplicationTemplateId <String>]`: The unique identifier of applicationTemplate
- `[ClaimsMappingPolicyId <String>]`: The unique identifier of claimsMappingPolicy
- `[DelegatedPermissionClassificationId <String>]`: The unique identifier of delegatedPermissionClassification
- `[DirectoryDefinitionId <String>]`: The unique identifier of directoryDefinition
- `[DirectoryObjectId <String>]`: The unique identifier of directoryObject
- `[EndpointId <String>]`: The unique identifier of endpoint
- `[ExtensionPropertyId <String>]`: The unique identifier of extensionProperty
- `[FederatedIdentityCredentialId <String>]`: The unique identifier of federatedIdentityCredential
- `[GroupId <String>]`: The unique identifier of group
- `[HomeRealmDiscoveryPolicyId <String>]`: The unique identifier of homeRealmDiscoveryPolicy
- `[Name <String>]`: Alternate key of federatedIdentityCredential
- `[OAuth2PermissionGrantId <String>]`: The unique identifier of oAuth2PermissionGrant
- `[ServicePrincipalId <String>]`: The unique identifier of servicePrincipal
- `[SynchronizationJobId <String>]`: The unique identifier of synchronizationJob
- `[SynchronizationTemplateId <String>]`: The unique identifier of synchronizationTemplate
- `[TargetDeviceGroupId <String>]`: The unique identifier of targetDeviceGroup
- `[TokenIssuancePolicyId <String>]`: The unique identifier of tokenIssuancePolicy
- `[TokenLifetimePolicyId <String>]`: The unique identifier of tokenLifetimePolicy
- `[UniqueName <String>]`: Alternate key of application
- `[UserId <String>]`: The unique identifier of user

## RELATED LINKS

[https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationAppManagementPolicyByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationAppManagementPolicyByRef)





Loading