-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #621 from TheJumpCloud/CUT-4324_PolicyGroupTemplate
Cut 4324 policy group template
- Loading branch information
Showing
108 changed files
with
4,447 additions
and
930 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 99 additions & 0 deletions
99
PowerShell/JumpCloud Module/Docs/Get-JCConfiguredTemplatePolicy.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
--- | ||
external help file: JumpCloud-help.xml | ||
Module Name: JumpCloud | ||
online version: https://github.com/TheJumpCloud/support/wiki/ | ||
schema: 2.0.0 | ||
--- | ||
|
||
# Get-JCConfiguredTemplatePolicy | ||
|
||
## SYNOPSIS | ||
|
||
Retrieves a Configured Policy Templates | ||
|
||
## SYNTAX | ||
|
||
### ReturnAll (Default) | ||
``` | ||
Get-JCConfiguredTemplatePolicy [<CommonParameters>] | ||
``` | ||
|
||
### ById | ||
``` | ||
Get-JCConfiguredTemplatePolicy -ConfiguredTemplatePolicyID <String> | ||
[<CommonParameters>] | ||
``` | ||
|
||
### ByName | ||
``` | ||
Get-JCConfiguredTemplatePolicy -Name <String> [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
||
Get-JCConfiguredTemplatePolicy returns the configured values for a defined policy member of a MTP Policy Template. | ||
|
||
## EXAMPLES | ||
|
||
### Example 1 | ||
|
||
```powershell | ||
PS C:\> Get-JCConfiguredTemplatePolicy -ConfiguredTemplatePolicyID "671958685191450001cc5f2b" | ||
``` | ||
|
||
Retrieves a Configured Policy Template for this provider with id: 671958685191450001cc5f2b | ||
|
||
### Example 1 | ||
|
||
```powershell | ||
PS C:\> Get-JCConfiguredTemplatePolicy -Name "ConfiguredPolicyName" | ||
``` | ||
|
||
Retrieves a Configured Policy Template for this provider with name: ConfiguredPolicyName | ||
|
||
## PARAMETERS | ||
|
||
### -ConfiguredTemplatePolicyID | ||
|
||
Retrieves a Configured Policy Templates by Id | ||
|
||
```yaml | ||
Type: System.String | ||
Parameter Sets: ById | ||
Aliases: _id, id | ||
|
||
Required: True | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -Name | ||
Retrieves a Configured Policy Templates by Name | ||
```yaml | ||
Type: System.String | ||
Parameter Sets: ByName | ||
Aliases: | ||
|
||
Required: True | ||
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 | ||
### None | ||
## OUTPUTS | ||
### System.Object | ||
## NOTES | ||
## RELATED LINKS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
--- | ||
external help file: JumpCloud-help.xml | ||
Module Name: JumpCloud | ||
online version: https://github.com/TheJumpCloud/support/wiki/ | ||
schema: 2.0.0 | ||
--- | ||
|
||
# Get-JCPolicyGroup | ||
|
||
## SYNOPSIS | ||
|
||
Returns all policy groups, policy groups by name or id. | ||
|
||
## SYNTAX | ||
|
||
### ReturnAll (Default) | ||
``` | ||
Get-JCPolicyGroup [<CommonParameters>] | ||
``` | ||
|
||
### ByName | ||
``` | ||
Get-JCPolicyGroup -Name <String> [<CommonParameters>] | ||
``` | ||
|
||
### ById | ||
``` | ||
Get-JCPolicyGroup -PolicyGroupID <String> [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
||
Get-JCPolicyGroup will return all policy groups for a given organization by default. If either the 'name' or 'PolicyGroupId' parameters are specified, the function will attempt to find policy groups by name or id. | ||
|
||
## EXAMPLES | ||
|
||
### Example 1 | ||
|
||
```powershell | ||
PS C:\> Get-JCPolicyGroup | ||
``` | ||
|
||
Returns all JumpCloud policy groups | ||
|
||
### Example 2 | ||
|
||
```powershell | ||
PS C:\> Get-JCPolicyGroup -Name "PolicyGroupName" | ||
``` | ||
|
||
Returns the policy group with name 'PolicyGroupName' | ||
|
||
### Example 3 | ||
|
||
```powershell | ||
PS C:\> Get-JCPolicyGroup -PolicyGroupId "66c3a774294f1e9071f080c9" | ||
``` | ||
|
||
Returns the policy group with id '66c3a774294f1e9071f080c9' | ||
|
||
## PARAMETERS | ||
|
||
### -Name | ||
|
||
The Name of the JumpCloud policy group you wish to query. | ||
|
||
```yaml | ||
Type: System.String | ||
Parameter Sets: ByName | ||
Aliases: | ||
|
||
Required: True | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -PolicyGroupID | ||
The ID of the JumpCloud policy group you wish to query | ||
```yaml | ||
Type: System.String | ||
Parameter Sets: ById | ||
Aliases: _id, id | ||
|
||
Required: True | ||
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 | ||
### None | ||
## OUTPUTS | ||
### System.Object | ||
## NOTES | ||
## RELATED LINKS |
Oops, something went wrong.