Set-NetIntent
Allows provisioning of override values for given intents
Syntax
Set-NetIntent
[-Name] <String>
[[-ComputerName] <String>]
[-AdapterPropertyOverrides <NetAdapterAdvancedConfiguration>]
[-QoSPolicyOverrides <QoSPolicy>]
[-AdapterRssOverrides <RssConfiguration>]
[-SwitchOverrides <SwitchConfigurationOverride>]
[-StorageOverrides <NetAdapterStorageOverride>]
[-SiteOverrides <SiteConfiguration[]>]
[-StorageVlans <Int32[]>]
[-ManagementVlan <Int32>]
[-Wait]
[<CommonParameters>]
Set-NetIntent
[-Name] <String>
[-ClusterName] <String>
[-AdapterPropertyOverrides <NetAdapterAdvancedConfiguration>]
[-QoSPolicyOverrides <QoSPolicy>]
[-AdapterRssOverrides <RssConfiguration>]
[-SwitchOverrides <SwitchConfigurationOverride>]
[-StorageOverrides <NetAdapterStorageOverride>]
[-SiteOverrides <SiteConfiguration[]>]
[-StorageVlans <Int32[]>]
[-ManagementVlan <Int32>]
[-Wait]
[<CommonParameters>]
Set-NetIntent
[[-ComputerName] <String>]
[[-ClusterName] <String>]
[-GlobalProxyOverrides <WinHttpAdvProxy>]
[-GlobalClusterOverrides <ClusterSettings>]
[-Wait]
[<CommonParameters>]
Description
All properties inside the override objects are nullable. Only the properties which are not set will be applied
Examples
Example 1
PS C:\> {{ Add example code here }}
{{ Add example description here }}
Parameters
-AdapterPropertyOverrides
{{ Fill AdapterPropertyOverrides Description }}
Type: | FabricManager.NetAdapterAdvancedConfiguration |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AdapterRssOverrides
{{ Fill AdapterRssOverrides Description }}
Type: | FabricManager.RssConfiguration |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ClusterName
{{ Fill ClusterName Description }}
Type: | String |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ComputerName
{{ Fill ComputerName Description }}
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GlobalClusterOverrides
{{ Fill GlobalClusterOverrides Description }}
Type: | FabricManager.ClusterSettings |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GlobalProxyOverrides
{{ Fill GlobalProxyOverrides Description }}
Type: | FabricManager.WinHttpAdvProxy |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ManagementVlan
{{ Fill ManagementVlan Description }}
Type: | Int32 |
Position: | Named |
Default value: | -1 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
{{ Fill Name Description }}
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-QoSPolicyOverrides
{{ Fill QoSPolicyOverrides Description }}
Type: | FabricManager.QoSPolicy |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SiteOverrides
{{ Fill SiteOverrides Description }}
Type: | FabricManager.SiteConfiguration[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StorageOverrides
{{ Fill StorageOverrides Description }}
Type: | FabricManager.NetAdapterStorageOverride |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StorageVlans
{{ Fill StorageVlans Description }}
Type: | Int32[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SwitchOverrides
{{ Fill SwitchOverrides Description }}
Type: | FabricManager.SwitchConfigurationOverride |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Wait
{{ Fill Wait Description }}
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Notes
Once the request has been successfully placed, all services will eventually detect and apply the
updated override policies. Use Get-NetIntentStatus
to see if the current status. It may take
several minutes for policy application.
To force update policy application, use the Set-NetIntentRetryState
to put a given policy in a
retry pending state in which case the policy will be forcefully applied.