Page History
...
Required? | false |
Position? | 2 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Folder
-Folder <String>
Alternatively to use of -Path the parameter specifies a JOC Cockpit inventory folder to be used to
remove the respecive folder and objects from a local Git repository.
Required? | false |
Position? | 3 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Local
-Local <SwitchParameter>
Specifies that a repository holding scheduling objects that are local to the environment should be used.
This corresponds to the LOCAL category. If this switch is not used then the
ROLLOUT category is assumed for a repository that holds scheduling objects
intended for rollout to later environments such as test, prod.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
PS > Remove-JS7RepositoryItem -Path Folder /some_folder/some_sub_folder -Type 'FOLDER'
Removes any scheduling objects from the indicated folder in the local "rollout" repository.
-------------------------- EXAMPLE 2 --------------------------
...
Removes the indicated worfklow "sampleWorkflow" from the local "rollout" repository.
-------------------------- EXAMPLE 3 --------------------------
PS > Remove-JS7ReposioryItem -Path /some_folder/sampleSchedule -Type 'SCHEDULE' -Local
Removes the indicated schedule "sampleSchedule" from the local "rollout" repository.