Renames a network adapter.
Syntax
uint32 Rename(
[in] string NewName,
[out] string CmdletOutput
);
Parameters
NewName [in]
The new name for the network adapter.
CmdletOutput [out]
An embedded instance of the MSFT_NetAdapter class.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Namespace | Root\StandardCimv2 |
| MOF | NetAdapterCim.mof |
| DLL | NetAdapterCim.dll |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors (upstream author metadata: windowssdkdev). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
