Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gweinjc committed Jun 12, 2024
1 parent 359d943 commit 8c70d16
Show file tree
Hide file tree
Showing 7 changed files with 341 additions and 28 deletions.
2 changes: 1 addition & 1 deletion PowerShell/JumpCloud Module/Docs/Get-JCCommand.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ Allows you to return select properties on JumpCloud user objects. Specifying wha
Type: System.String[]
Parameter Sets: SearchFilter
Aliases:
Accepted values: command, name, launchType, commandType, trigger, scheduleRepeatType
Accepted values: command, name, launchType, commandType, trigger, scheduleRepeatType, listensTo, organization, commandRunners, schedule, shell, timeout, sudo, template, scheduleYear, timeToLiveSeconds, files, user, systems

Required: False
Position: Named
Expand Down
22 changes: 19 additions & 3 deletions PowerShell/JumpCloud Module/Docs/Get-JCEvent.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ Query the API for Directory Insights events

### GetExpanded (Default)
```
Get-JCEvent -Service <String[]> -StartTime <DateTime> [-EndTime <DateTime>] [-Fields <String[]>] [-Q <String>]
[-SearchAfter <String[]>] [-SearchTermAnd <Hashtable>] [-SearchTermNot <Hashtable>]
[-SearchTermOr <Hashtable>] [-Sort <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
Get-JCEvent -Service <String[]> -StartTime <DateTime> [-EndTime <DateTime>] [-Fields <String[]>]
[-Limit <Int64>] [-Q <String>] [-SearchAfter <String[]>] [-SearchTermAnd <Hashtable>]
[-SearchTermNot <Hashtable>] [-SearchTermOr <Hashtable>] [-Sort <String>] [-WhatIf] [-Confirm]
[<CommonParameters>]
```

### Get
Expand Down Expand Up @@ -133,6 +134,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -Limit
Max number of rows to return
```yaml
Type: System.Int64
Parameter Sets: GetExpanded
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```
### -Q
optional string for specifying a full text query
Expand Down
96 changes: 96 additions & 0 deletions PowerShell/JumpCloud Module/Docs/Get-JCScheduledUserstate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
---
external help file: JumpCloud-help.xml
Module Name: JumpCloud
online version: https://github.com/TheJumpCloud/support/wiki/Get-JcSdkEventCount
schema: 2.0.0
---

# Get-JCScheduledUserstate

## SYNOPSIS
Returns scheduled userstate changes by state or returns a user's scheduled userstate changes

## SYNTAX

### BulkLookup (Default)
```
Get-JCScheduledUserstate -State <String> [<CommonParameters>]
```

### ByID
```
Get-JCScheduledUserstate -UserId <String> [<CommonParameters>]
```

## DESCRIPTION
Get-JCScheduledUserstate function allows for admins to view upcoming scheduled user suspensions or activations. You can also look up an individual user's upcoming state changes by their userID

## EXAMPLES

### Example 1
```powershell
Get-JCScheduledUserstate -State "SUSPENDED"
```

Returns all scheduled SUSPENDED userstate changes

### Example 2
```powershell
Get-JCScheduledUserstate -State "ACTIVATED"
```

Returns all scheduled ACTIVATED userstate changes

### Example 2
```powershell
Get-JCScheduledUserstate -UserID "USERID"
```

Returns all scheduled userstate changes for a given userID

## PARAMETERS

### -State
The scheduled state you'd like to query (SUSPENDED or ACTIVATED)

```yaml
Type: System.String
Parameter Sets: BulkLookup
Aliases:
Accepted values: SUSPENDED, ACTIVATED

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -UserId
The _id of the User which you want to lookup.
UserID has an Alias of _id.
```yaml
Type: System.String
Parameter Sets: ByID
Aliases: _id, id

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
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
### System.String
## OUTPUTS
### System.Object
## NOTES
## RELATED LINKS
2 changes: 1 addition & 1 deletion PowerShell/JumpCloud Module/Docs/Get-JCSystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Valid properties that can be returned are: 'created', 'active', 'agentVersion',
Type: System.String[]
Parameter Sets: SearchFilter
Aliases:
Accepted values: acknowledged, active, agentVersion, allowMultiFactorAuthentication, allowPublicKeyAuthentication, allowSshPasswordAuthentication, allowSshRootLogin, arch, azureAdJoined, connectionHistory, created, displayName, domainInfo, fde, fileSystem, hasServiceAccount, hostname, lastContact, mdm, modifySSHDConfig, networkInterfaces, organization, os, osFamily, provisionMetadata, remoteIP, serialNumber, serviceAccountState, sshdParams, systemInsights, systemTimezone, systemToken, templateName, userMetrics, usernameHashes, version
Accepted values: acknowledged, active, agentVersion, allowMultiFactorAuthentication, allowPublicKeyAuthentication, allowSshPasswordAuthentication, allowSshRootLogin, arch, azureAdJoined, connectionHistory, created, displayName, domainInfo, fde, fileSystem, hasServiceAccount, hostname, lastContact, mdm, modifySSHDConfig, networkInterfaces, organization, os, osFamily, provisionMetadata, remoteIP, serialNumber, serviceAccountState, sshdParams, systemInsights, systemTimezone, templateName, userMetrics, usernameHashes, version, hwVendor, secureLogin, displayManager, amazonInstanceID, archFamily, builtInCommands, description, osVersionDetail, policyStats, desktopCapable, sshRootEnabled, isPolicyBound

Required: False
Position: Named
Expand Down
2 changes: 1 addition & 1 deletion PowerShell/JumpCloud Module/Docs/Get-JCUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ Valid properties that can be returned are: 'created', 'password_expiration_date'
Type: System.String[]
Parameter Sets: SearchFilter
Aliases:
Accepted values: created, password_expiration_date, account_locked, activated, addresses, allow_public_key, attributes, alternateEmail, recoveryEmail, managedAppleId, manager, email, enable_managed_uid, enable_user_portal_multifactor, externally_managed, firstname, lastname, ldap_binding_user, passwordless_sudo, password_expired, password_never_expires, phoneNumbers, samba_service_user, ssh_keys, sudo, totp_enabled, unix_guid, unix_uid, username, middlename, displayname, jobTitle, employeeIdentifier, department, costCenter, company, employeeType, description, location, external_source_type, external_dn, suspended, mfa, recoveryEmail, systemUsername
Accepted values: created, password_expiration_date, account_locked, activated, addresses, allow_public_key, attributes, alternateEmail, recoveryEmail, managedAppleId, manager, email, enable_managed_uid, enable_user_portal_multifactor, externally_managed, firstname, lastname, ldap_binding_user, passwordless_sudo, password_expired, password_never_expires, phoneNumbers, samba_service_user, ssh_keys, sudo, totp_enabled, unix_guid, unix_uid, username, middlename, displayname, jobTitle, employeeIdentifier, department, costCenter, company, employeeType, description, location, external_source_type, external_dn, suspended, mfa, recoveryEmail, systemUsername, relationships, public_key, external_password_expiration_date, disableDeviceMaxLoginAttempts, password, state, restrictedFields

Required: False
Position: Named
Expand Down
13 changes: 8 additions & 5 deletions PowerShell/JumpCloud Module/Docs/JumpCloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Module Name: JumpCloud
Module Guid: 31c023d1-a901-48c4-90a3-082f91b31646
Download Help Link: https://github.com/TheJumpCloud/support/wiki
Help Version: 2.10.0
Help Version: 2.11.0
Locale: en-US
---

Expand All @@ -18,10 +18,10 @@ Create an association between two object within the JumpCloud console.
Associates a JumpCloud system or a JumpCloud system group with a JumpCloud command

### [Add-JCGsuiteMember](Add-JCGsuiteMember.md)
Adds users or usergroups to a GSuite Cloud Directory Instance
Adds a user or usergroup to a GSuite instance

### [Add-JCOffice365Member](Add-JCOffice365Member.md)
Adds users or usergroups to an Office365 Cloud Directory Instance
Adds a user or usergroup to an Office365 instance

### [Add-JCRadiusReplyAttribute](Add-JCRadiusReplyAttribute.md)
Adds Radius reply attributes to a JumpCloud user group.
Expand Down Expand Up @@ -92,6 +92,9 @@ Returns the Radius reply attributes associated with a JumpCloud user group.
### [Get-JCRadiusServer](Get-JCRadiusServer.md)
Return JumpCloud radius server information.

### [Get-JCScheduledUserstate](Get-JCScheduledUserstate.md)
Returns scheduled userstate changes by state or returns a user's scheduled userstate changes

### [Get-JCSystem](Get-JCSystem.md)
Returns all JumpCloud Systems within a JumpCloud tenant or a single JumpCloud System using the -ByID Parameter.

Expand Down Expand Up @@ -173,10 +176,10 @@ Removes a JumpCloud Command Result
Removes the association between a JumpCloud system or a JumpCloud system group from a JumpCloud command

### [Remove-JCGsuiteMember](Remove-JCGsuiteMember.md)
Removes users or usergroups from a GSuite Cloud Directory Instance
Removes a user or usergroup from a GSuite instance

### [Remove-JCOffice365Member](Remove-JCOffice365Member.md)
Removes users or usergroups from an Office365 Cloud Directory Instance
Removes a user or usergroup from an Office365 instance

### [Remove-JCPolicy](Remove-JCPolicy.md)
Removes a JumpCloud Policy
Expand Down
Loading

0 comments on commit 8c70d16

Please sign in to comment.