-
Notifications
You must be signed in to change notification settings - Fork 153
Get JCSystem
external help file: JumpCloud-help.xml Module Name: JumpCloud online version: https://github.com/TheJumpCloud/support/wiki/Get-JCSystem schema: 2.0.0
Returns all JumpCloud Systems within a JumpCloud tenant or a single JumpCloud System using the -ByID Parameter.
Get-JCSystem [[-hostname] <String>] [-displayName <String>] [-description <String>] [-version <String>]
[-templateName <String>] [-os <String>] [-remoteIP <String>] [-serialNumber <String>] [-arch <String>]
[-agentVersion <String>] [-systemTimezone <String>] [-active <Boolean>]
[-allowMultiFactorAuthentication <Boolean>] [-allowPublicKeyAuthentication <Boolean>]
[-allowSshPasswordAuthentication <Boolean>] [-allowSshRootLogin <Boolean>] [-modifySSHDConfig <Boolean>]
[-hasServiceAccount <Boolean>] [-filterDateProperty <String>] [-returnProperties <String[]>]
-dateFilter <String> -date <DateTime> [<CommonParameters>]
Get-JCSystem -SystemID <String> [-SystemFDEKey] -dateFilter <String>
-date <DateTime> [<CommonParameters>]
The Get-JCSystem function returns all information describing a JumpCloud system. By default this will return all Systems.
Note: String parameters are case-insensitive
Get-JCSystem
Returns all JumpCloud managed systems and the information describing these systems.
Get-JCSystemUser -SystemID 5n0795a712704la4eve154r
Returns a single JumpCloud System with SystemID '5n0795a712704la4eve154r'.
Get-JCSystem -active $true
Returns all active JumpCloud Systems and the information describing these systems.
Get-JCSystem -agentVersion '0.9.6*' -os '*Mac*'
Returns all JumpCloud systems where the agentVersion is '0.9.6.*' and the operating system is like 'Mac'
Get-JCSystem -filterDateProperty created -dateFilter after -date 01/01/2018
Returns all JumpCloud systems that were created after 01/01/2018 using the parameter -filterDateProperty and the dynamic parameters -dateFilter and -date
Get-JCSystem -returnProperties remoteIP, active
Returns all JumpCloud systems and the properties remoteIP and active. The default properties that return are lastContact and _id.
Get-JCSystem -hostname thisjchost
Returns JumpCloud system with hostname 'thisjchost' NOTE: String parameters are case-insensitive. Hostname 'thisjchost' and 'thisJcHost' will return the same information.
Filter for systems that are online or offline.
Type: System.Boolean
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to search systems by the agentVersion.
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to show systems that are enabled ($true) or disabled ($true) for allowMultiFactorAuthentication
Type: System.Boolean
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to show systems that are enabled ($true) or disabled ($true) for allowMultiFactorAuthentication
Type: System.Boolean
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to show systems that are enabled ($true) or disabled ($true) for allowMultiFactorAuthentication
Type: System.Boolean
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to show systems that are enabled ($true) or disabled ($true) for allowMultiFactorAuthentication
Type: System.Boolean
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to search systems by the processor arch.
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Date to filter on.
Type: System.DateTime
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Condition to filter date on.
Type: System.String
Parameter Sets: (All)
Aliases:
Accepted values: before, after
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
A search filter to search systems by the description.
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to search systems by the displayName.
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A parameter that can filter on the property 'created' or 'lastContact'. Only inactive systems will be returned when using the lastContact filter. This parameter if used creates two more dynamic parameters 'dateFilter' and 'date'. See EXAMPLE 5 above for full syntax.
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Accepted values: created, lastContact
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to show macOS systems that have the JumpCloud service account
Type: System.Boolean
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to search systems by the hostname.
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to show systems that are enabled ($true) or disabled ($true) for modifySSHDConfig
Type: System.Boolean
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to search systems by the OS.
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to search systems by the remoteIP.
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Allows you to return select properties on JumpCloud system 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: 'created', 'active', 'agentVersion', 'allowMultiFactorAuthentication', 'allowPublicKeyAuthentication', 'allowSshPasswordAuthentication', 'allowSshRootLogin', 'arch', 'created', 'displayName', 'hostname', 'lastContact', 'modifySSHDConfig', 'organization', 'os', 'remoteIP', 'serialNumber', 'sshdParams', 'systemTimezone', 'templateName', 'version'
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, templateName, userMetrics, usernameHashes, version, hwVendor, secureLogin, displayManager, amazonInstanceID, archFamily, builtInCommands, description, osVersionDetail, policyStats, desktopCapable, sshRootEnabled, isPolicyBound
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to search systems by the serialNumber.
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A switch parameter to reveal the SystemFDEKey
Type: System.Management.Automation.SwitchParameter
Parameter Sets: ByID
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The _id or id of the System which you want to query.
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
A search filter to search systems by the serialNumber. This field DOES NOT take wildcard input.
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to search systems by the templateName.
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A search filter to search systems by the version.
Type: System.String
Parameter Sets: SearchFilter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
- Wiki Home
- Installing the JumpCloud PowerShell module
- Using the JumpCloud PowerShell Module
- Using the JumpCloud PowerShell Module with AWS Lambda
- PowerShell Commands Example Library
- JumpCloud Commands Gallery
- JumpCloud PowerShell YouTube Channel
- The JumpCloud Dashboard PowerShell Module
Authentication
Import and Backup
- Get JCAssociation
- New JCImportTemplate
- Import JCUsersFromCSV
- Update JCUsersFromCSV
- Get JCBackup
- Send JCPasswordReset
- Backup JCOrganization
RADIUS Reply Attributes
- Add JCRadiusReplyAttribute
- Get JCRadiusReplyAttribute
- Update JCUsersFromCSV
- Set JCRadiusReplyAttribute
- Remove JCRadiusReplyAttribute
User Functions
Administrator Functions
System Functions
- Get JCSystem
- Get JCSystemApp
- Get JCSystemKB
- Set JCSystem
- Remove JCSystem
- Get JCSystemUser
- Set JCSystemUser
- Add JCSystemUser
- Remove JCSystemUser
Command Functions
- New JCCommand
- Get JCCommand
- Import JCCommand
- Remove JCCommand
- Set JCCommand
- Invoke JCCommand
- New JCDeploymentTemplate
- Invoke JCDeployment
- Get JCCommandResult
- Remove JCCommandResult
- Get JCCommandTarget
- Add JCCommandTarget
- Remove JCCommandTarget
Group Functions
- Get JCGroup
- New JCUserGroup
- Remove JCUserGroup
- Get JCUserGroupMember
- Add JCUserGroupMember
- Remove JCUserGroupMember
- New JCSystemGroup
- Remove JCSystemGroup
- Get JCSystemGroupMember
- Add JCSystemGroupMember
- Remove JCSystemGroupMember
- Set-JCUserGroupLDAP
Policy Functions
- Get JCPolicy
- Get JCPolicyResult
- Get JCPolicyTargetSystem
- Get JCPolicyTargetGroup
- New JCPolicy
- Set JCPolicy
Event Functions