< Back

New-NfProtectionService

Sat Jan 18, 2020 5:07 pm

NAME New-NfProtectionService



SYNOPSIS

Creates a new Protection Services





SYNTAX

New-NfProtectionService -Type <String> -Path <String> -Name <String> [-Recurse] [-NoWait] [-WhatIf] [-Confirm]

[<CommonParameters>]





DESCRIPTION

Creates a new Protection Services





PARAMETERS

-Type <String>



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Path <String>



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Name <String>



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Recurse [<SwitchParameter>]

Should the protection service be appllied to child filesystems



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-NoWait [<SwitchParameter>]



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 a protectionservice object for the created

protection service

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

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





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



PS C:\\>















RELATED LINKS