-
Notifications
You must be signed in to change notification settings - Fork 52
Set HPOVStorageVolumeTemplatePolicy
Set Storage Volume Template Global Policy
Set-HPOVStorageVolumeTemplatePolicy[ [-Enable] <SwitchParameter>] [-ApplianceConnection] <Array> [<CommonParameters>]
Set-HPOVStorageVolumeTemplatePolicy[ [-Disable] <SwitchParameter>] [-ApplianceConnection] <Array> [<CommonParameters>]
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.
-ApplianceConnection <Array>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Disable <SwitchParameter>
Switch to disable the policy
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Enable <SwitchParameter>
Switch to enable the policy
Aliases | None |
Required? | false |
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)
None. You cannot pipe objects to this cmdlet.
System.Boolean
Returned boolean value after changing policy
-------------------------- EXAMPLE 1 --------------------------PS C:\> Get-HPOVStorageVolumeTemplatePolicy Appliance Name Value --------- ---- ----- MyAppliance.domain.com StorageVolumeTemplateRequired true PS C:\> Set-HPOVStorageVolumeTemplatePolicy -disable -ApplianceConnection $ConnectedSessions Appliance Name Value --------- ---- ----- MyAppliance.domain.com StorageVolumeTemplateRequired false MyAppliance2.domain.com StorageVolumeTemplateRequired false
Get the Storage Volume Template Global Policy setting, then disable it for all connected appliances.
- Get-HPOVStorageVolumeTemplatePolicy
- Gew-HPOVStorageVolumeTemplate
- New-HPOVStorageVolumeTemplate
- Remove-HPOVStorageVolumeTemplate
- Get-HPOVStorageVolume
- New-HPOVStorageVolume
- Remove-HPOVStorageVolume
Set Storage Volume Template Global Policy
Set-HPOVStorageVolumeTemplatePolicy[ [-Enable] <SwitchParameter>] [-ApplianceConnection] <Array> [<CommonParameters>]
Set-HPOVStorageVolumeTemplatePolicy[ [-Disable] <SwitchParameter>] [-ApplianceConnection] <Array> [<CommonParameters>]
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.
-ApplianceConnection <Array>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Disable <SwitchParameter>
Switch to disable the policy
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Enable <SwitchParameter>
Switch to enable the policy
Aliases | None |
Required? | false |
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)
None. You cannot pipe objects to this cmdlet.
System.Boolean
Returned boolean value after changing policy
-------------------------- EXAMPLE 1 --------------------------PS C:\> Get-HPOVStorageVolumeTemplatePolicy Appliance Name Value --------- ---- ----- MyAppliance.domain.com StorageVolumeTemplateRequired true PS C:\> Set-HPOVStorageVolumeTemplatePolicy -disable -ApplianceConnection $ConnectedSessions Appliance Name Value --------- ---- ----- MyAppliance.domain.com StorageVolumeTemplateRequired false MyAppliance2.domain.com StorageVolumeTemplateRequired false
Get the Storage Volume Template Global Policy setting, then disable it for all connected appliances.
- Get-HPOVStorageVolumeTemplatePolicy
- Gew-HPOVStorageVolumeTemplate
- New-HPOVStorageVolumeTemplate
- Remove-HPOVStorageVolumeTemplate
- Get-HPOVStorageVolume
- New-HPOVStorageVolume
- Remove-HPOVStorageVolume
Set Storage Volume Template Global Policy
Set-HPOVStorageVolumeTemplatePolicy [<CommonParameters>]
Set-HPOVStorageVolumeTemplatePolicy[ [-Enable] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
Set-HPOVStorageVolumeTemplatePolicy[ [-Disable] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
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.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Disable <SwitchParameter>
Switch to disable the policy
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Enable <SwitchParameter>
Switch to enable the policy
Aliases | None |
Required? | false |
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)
None. You cannot pipe objects to this Cmdlet.
System.Boolean
Returned boolean value after changing policy.
-------------------------- EXAMPLE 1 --------------------------PS C:\> Get-HPOVStorageVolumeTemplatePolicy Appliance Name Value --------- ---- ----- MyAppliance.domain.com StorageVolumeTemplateRequired true MyAppliance2.domain.com StorageVolumeTemplateRequired true PS C:\> Set-HPOVStorageVolumeTemplatePolicy -disable Appliance Name Value --------- ---- ----- MyAppliance.domain.com StorageVolumeTemplateRequired false MyAppliance2.domain.com StorageVolumeTemplateRequired false
Get the Storage Volume Template Global Policy setting, then disable it for all connected appliances.
- Get-HPOVStorageVolumeTemplatePolicy
- Gew-HPOVStorageVolumeTemplate
- New-HPOVStorageVolumeTemplate
- Remove-HPOVStorageVolumeTemplate
- Get-HPOVStorageVolume
- New-HPOVStorageVolume
- Remove-HPOVStorageVolume
Set Storage Volume Template Global Policy
Set-HPOVStorageVolumeTemplatePolicy [<CommonParameters>]
Set-HPOVStorageVolumeTemplatePolicy [-Enable] <Enable> [<CommonParameters>]
Set-HPOVStorageVolumeTemplatePolicy [-Disable] <Disable> [<CommonParameters>]
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.
-Enable <Enable>
Switch to enable the policy
Aliases | None. |
Required? | true |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Disable <Disable>
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)
None. You cannot pipe objects to this cmdlet.
System.Boolean
Returned boolean value after changing policy.
-------------------------- EXAMPLE 1 --------------------------PS C:\> Get-HPOVStorageVolumeTemplatePolicy True PS C:\> Set-HPOVStorageVolumeTemplatePolicy -disable
Get the Storage Volume Template Global Policy setting, then disable it.
- Get-HPOVStorageVolumeTemplatePolicy
- Gew-HPOVStorageVolumeTemplate
- New-HPOVStorageVolumeTemplate
- Remove-HPOVStorageVolumeTemplate
- Get-HPOVStorageVolume
- New-HPOVStorageVolume
- Remove-HPOVStorageVolume