-
Notifications
You must be signed in to change notification settings - Fork 156
New JCDeploymentTemplate
A guided walk through that creates a command deployment CSV file on your local machine.
New-JCDeploymentTemplate [<CommonParameters>]
The New-JCDeploymentTemplate command is a menu driven interactive function that guides admins through the process of creating a command deployment CSV file and assists in gathering the required information needed to populate the command deployment CSV file.
Note: Windows commands and Mac/Linux commands interpret variables differently. Windows commands with variables you wish to replace during Invoke-JCDeployment should be written as ${ENV:$variableToReplace}
within the command body. The header variables of Windows Command Deployment CSVs should be prefixed with $
Example valid Windows PowerShell command:
Invoke-WebRequest -Uri $url -OutFile ${ENV:$UserPath}\${ENV:$FileName}
Example Valid Mac/Linux CSV:
"SystemID" | "$UserPath" | "$FileName" |
---|---|---|
602c4806e87bc117c434fb71 | "C:\Users\Joe\Desktop" | "PDF_JoeToSign.pdf" |
60623c9d0bab5a18614d4d6d | "C:\Users\Bob\Desktop" | "PDF_BobToSign.pdf" |
6025b5aa115b9917f6903436 | "C:\Users\Steve\Desktop" | "PDF_SteveToSign.pdf" |
Mac and Linux commands work similarly in the sense that command body variables such as $variableToReplace
will be replaced when running Invoke-JCDeployment. The header variables of a Mac/Linux Command Deployment CSV do not need to be prefixed with $
Example valid Mac/Linux command:
curl -L -o $UserPath/$FileName $url >/dev/null
Example Valid Mac/Linux CSV:
"SystemID" | "UserPath" | "FileName" |
---|---|---|
602c4806e87bc117c434fb71 | "/Users/Joe/Desktop" | "PDF_JoeToSign.pdf" |
60623c9d0bab5a18614d4d6d | "/Users/Bob/Desktop" | "PDF_BobToSign.pdf" |
6025b5aa115b9917f6903436 | "/Users/Steve/Desktop" | "PDF_SteveToSign.pdf" |
PS C:\> New-JCDeploymentTemplate
Launches the New-JCDeploymentTemplate menu
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
Report Functions