Skip to content

Commit

Permalink
Updating PowerShell Module;[skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJumpCloud authored and TheJumpCloud committed Jun 22, 2022
1 parent cdf0298 commit 6d2aa23
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 40 deletions.
18 changes: 10 additions & 8 deletions PowerShell/JumpCloud Module/Docs/Get-JCCommand.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Returns all JumpCloud Commands within a JumpCloud tenant or a single JumpCloud C

### SearchFilter (Default)
```
Get-JCCommand [[-command] <String>] [[-name] <String>] [[-commandType] <String>] [[-launchType] <String>]
[[-trigger] <String>] [[-scheduleRepeatType] <String>] [-returnProperties <String[]>] [<CommonParameters>]
Get-JCCommand [-command <String>] [-name <String>] [-commandType <String>] [-launchType <String>]
[-trigger <String>] [-scheduleRepeatType <String>] [-returnProperties <String[]>] [<CommonParameters>]
```

### ByID
Expand Down Expand Up @@ -105,7 +105,7 @@ Parameter Sets: SearchFilter
Aliases:

Required: False
Position: 0
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Expand Down Expand Up @@ -143,9 +143,10 @@ Command Type
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Accepted values: windows, mac, linux

Required: False
Position: 0
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Expand All @@ -158,9 +159,10 @@ Launch Type
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Accepted values: repeated, one-time, manual, trigger

Required: False
Position: 0
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Expand All @@ -175,7 +177,7 @@ Parameter Sets: SearchFilter
Aliases:

Required: False
Position: 0
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Expand Down Expand Up @@ -207,7 +209,7 @@ Aliases:
Accepted values: minute, hour, day, week, month

Required: False
Position: 0
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Expand All @@ -222,7 +224,7 @@ Parameter Sets: SearchFilter
Aliases:

Required: False
Position: 0
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Expand Down
75 changes: 43 additions & 32 deletions PowerShell/JumpCloud Module/en-Us/JumpCloud-help.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3483,7 +3483,7 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
</command:syntaxItem>
<command:syntaxItem>
<maml:name>Get-JCCommand</maml:name>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="0" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>command</maml:name>
<maml:description>
<maml:para>The command to execute on the server.</maml:para>
Expand All @@ -3495,31 +3495,42 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="0" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>commandType</maml:name>
<maml:description>
<maml:para>Command Type</maml:para>
</maml:description>
<command:parameterValueGroup>
<command:parameterValue required="false" command:variableLength="false">windows</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">mac</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">linux</command:parameterValue>
</command:parameterValueGroup>
<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
<dev:type>
<maml:name>System.String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="0" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>launchType</maml:name>
<maml:description>
<maml:para>Launch Type</maml:para>
</maml:description>
<command:parameterValueGroup>
<command:parameterValue required="false" command:variableLength="false">repeated</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">one-time</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">manual</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">trigger</command:parameterValue>
</command:parameterValueGroup>
<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
<dev:type>
<maml:name>System.String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="0" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>name</maml:name>
<maml:description>
<maml:para>Name of the command</maml:para>
Expand All @@ -3531,7 +3542,27 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="0" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>returnProperties</maml:name>
<maml:description>
<maml:para>Allows you to return select properties on JumpCloud user objects. Specifying what properties are returned can drastically increase the speed of the API call with a large data set. Valid properties that can be returned are: 'command', 'name','commandType', 'launchType','listensTo','schedule','trigger','scheduleRepeatType','organization'</maml:para>
</maml:description>
<command:parameterValueGroup>
<command:parameterValue required="false" command:variableLength="false">command</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">name</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">launchType</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">commandType</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">trigger</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">scheduleRepeatType</command:parameterValue>
</command:parameterValueGroup>
<command:parameterValue required="true" variableLength="false">System.String[]</command:parameterValue>
<dev:type>
<maml:name>System.String[]</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>scheduleRepeatType</maml:name>
<maml:description>
<maml:para>When the command will repeat</maml:para>
Expand All @@ -3550,7 +3581,7 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="0" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>trigger</maml:name>
<maml:description>
<maml:para>The name of the command trigger</maml:para>
Expand All @@ -3562,26 +3593,6 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>returnProperties</maml:name>
<maml:description>
<maml:para>Allows you to return select properties on JumpCloud user objects. Specifying what properties are returned can drastically increase the speed of the API call with a large data set. Valid properties that can be returned are: 'command', 'name','commandType', 'launchType','listensTo','schedule','trigger','scheduleRepeatType','organization'</maml:para>
</maml:description>
<command:parameterValueGroup>
<command:parameterValue required="false" command:variableLength="false">command</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">name</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">launchType</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">commandType</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">trigger</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">scheduleRepeatType</command:parameterValue>
</command:parameterValueGroup>
<command:parameterValue required="true" variableLength="false">System.String[]</command:parameterValue>
<dev:type>
<maml:name>System.String[]</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
Expand All @@ -3597,7 +3608,7 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
</dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="0" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>command</maml:name>
<maml:description>
<maml:para>The command to execute on the server.</maml:para>
Expand Down Expand Up @@ -3625,7 +3636,7 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="0" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>commandType</maml:name>
<maml:description>
<maml:para>Command Type</maml:para>
Expand All @@ -3637,7 +3648,7 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="0" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>launchType</maml:name>
<maml:description>
<maml:para>Launch Type</maml:para>
Expand All @@ -3649,7 +3660,7 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="0" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>name</maml:name>
<maml:description>
<maml:para>Name of the command</maml:para>
Expand All @@ -3673,7 +3684,7 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="0" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>scheduleRepeatType</maml:name>
<maml:description>
<maml:para>When the command will repeat</maml:para>
Expand All @@ -3685,7 +3696,7 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="0" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none">
<maml:name>trigger</maml:name>
<maml:description>
<maml:para>The name of the command trigger</maml:para>
Expand Down

0 comments on commit 6d2aa23

Please sign in to comment.