< Back

Remove-NfProtectionServiceSchedule

Sat Jan 18, 2020 5:11 pm

NAME Remove-NfProtectionServiceSchedule



SYNOPSIS

Removes a schedule from a Snaphost based Protection Service for a filesystem





SYNTAX

Remove-NfProtectionServiceSchedule [-ServiceName] <String> [-ScheduleName] <String> [-NoWait] [-WhatIf] [-Confirm]

[<CommonParameters>]





DESCRIPTION

Removes a schedule from a Snaphost based Protection Service for a filesystem





PARAMETERS

-ServiceName <String>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ScheduleName <String>



Required? true

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-NoWait [<SwitchParameter>]

Invoke to make the cmdlet start the job and return the GUID of the JobID



Required? false

Position? named

Default value False

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

The cmdlet will wait (30sec) for the task to complete and return an NsScheduledSnapshotSchedule object for the

service

If -NoWait was invoked it will return the GUID of the creation task

If the cmdlet waits for more then 30sec it will return the GUID of the task.





-------------------------- EXAMPLE 1 --------------------------



PS C:\\temp>Remove-ProtectionServiceSchedule -ServiceName collab2 -ScheduleName caa0dee5-d994-413c-8f61-963fb638bc10



name : collab2

id : 15ae3e31-05cf-11e8-9b3d-773bc8b1c3e3

managerNodes : @{primary=}

isManager : True

runNumber : 0

recursive : True

sourceDataset : p1/collab-02

type : scheduled

state : enabled

isLocked : False

isSyncing : False

kstatId : 0000000000000006

schedules : {@{cron=10 6-18/3 * * *; scheduleName=c9a56193-8cd4-48f2-be9d-ca6d4cf5cde9; keepSource=5;

disabled=False; scheduleId=15ae3e30-05cf-11e8-9b3d-773bc8b1c3e3}, @{cron=10 1 * * SUN,TUE-SAT;

scheduleName=227cddc6-bec5-4eed-8ee8-7990337be855; keepSource=5; disabled=False;

scheduleId=eb553b70-05d3-11e8-9b3d-773bc8b1c3e3}, @{cron=10 1 * * 1;

scheduleName=47b7317a-1875-48df-b735-31ef6b2836a3; keepSource=2;

disabled=False; scheduleId=819a7870-05d4-11e8-9b3d-773bc8b1c3e3}}

isRunning : False

href : /hpr/services/collab2



Remove a schedule to from the collab2 service











RELATED LINKS





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Remove-NfProtectionServiceSnapshot; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Remove-NfProtectionServiceSnapshot [-Name] <string> [-Path <string>] [-NodeId <string>]

[-WhatIf] [-Confirm] [<CommonParameters>]



ModuleName : NexentaFusion

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Remove-NfProtectionServiceSnapshot

Category : Function

Component :

Role :

Functionality :