New-NetIntentStorageOverrides
Creates a new instance of network adapter storage overrides which can be used to supply granular
values to Set-NetIntent.
Syntax
Default (Default)
New-NetIntentStorageOverrides
[-EnableAutomaticIPGeneration <Boolean>]
[<CommonParameters>]
Description
The New-NetIntentStorageOverrides cmdlet creates a new instance of storage network adapter
override setting. This instance can be used to specify configuration values for network adapters
when using the Set-NetIntent cmdlet.
Examples
Example 1
New-NetIntentStorageOverrides -EnableAutomaticIPGeneration $true
This example creates a new storage override with automatic IP generation enabled.
Parameters
-EnableAutomaticIPGeneration
Indicates whether automatic IP generation should be enabled for the network adapter storage
configuration. When set to $true, IP addresses will be automatically generated based on the
network settings.
Parameter properties
| Type: | Boolean |
| Default value: | False |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.