NAME

Set-HPOVStorageVolumeTemplatePolicy

SYNOPSIS

Set Storage Volume Template Global Policy

SYNTAX

Set-HPOVStorageVolumeTemplatePolicy [<CommonParameters>]

Set-HPOVStorageVolumeTemplatePolicy -Enable [<CommonParameters>]

Set-HPOVStorageVolumeTemplatePolicy -Disable [<CommonParameters>]

DESCRIPTION

By default, Storage Volumes can be created without reference to a Storage Volume Template. This cmdlet will allow the administrator to change the global policy setting. Use with caution, as this will prevent copying Server Profiles that contain attached Storage Volumes.

PARAMETERS

-Enable <SwitchParameter>
Switch to enable the policy
Aliases None
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    false
-Disable <SwitchParameter>
Switch to disable the policy
Aliases None
Required? true
Position? named
Default value False
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 (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

None. You cannot pipe objects to this cmdlet.

OUTPUTS

System.Boolean

Returned boolean value after changing policy.

RELATED LINKS

EXAMPLES

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

PS C:\> Get-HPOVStorageVolumeTemplatePolicy
True

PS C:\> Set-HPOVStorageVolumeTemplatePolicy -disable

Get the Storage Volume Template Global Policy setting, then disable it.

Last edited Aug 20, 2014 at 12:23 AM by chrislynchhp, version 2