Rename method of the PS_DhcpServerv4Superscope class

Renames the superscope with the specified name.

Syntax

uint32 Rename(
  [in]  string                 ComputerName,
  [in]  string                 Name,
  [in]  string                 NewName,
  [in]  boolean                PassThru,
  [out] DhcpServerv4Superscope cmdletOutput
);

Parameters

ComputerName [in]

DNS name or IP address of the target computer running the DHCP server service.

Name [in]

Current Name of the superscope.

NewName [in]

New name of the superscope.

PassThru [in]

If this parameter is specified, the cmdlet returns the PowerShell object which is added.

cmdletOutput [out]

An embedded instance of a DhcpServerv4Superscope object.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\DHCP
MOF
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll

See also

PS_DhcpServerv4Superscope