Set method of the PS_DhcpServerDatabase class

Modifies one or more configuration parameters of the database of the DHCP server

Syntax


uint32 Set(
  [in]   string FileName,
  [in]   string BackupPath,
  [in]   uint32 BackupInterval,
  [in]   uint32 CleanupInterval,
  [in]   boolean RestoreFromBackup,
  [in]   string ComputerName,
  [in]   boolean PassThru,
  [out]  string cmdletOutput
);

Parameters

FileName [in]

Name of the database backup file

BackupPath [in]

Directory where the database should be backed up

BackupInterval [in]

Periodicity of automatic database backup (in minutes)

CleanupInterval [in]

Periodicity of database cleanup (in minutes)

RestoreFromBackup [in]

If set to true, indicates that database has to be restored from backup

ComputerName [in]

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

PassThru [in]

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

cmdletOutput [out]

An embedded instance of the DhcpServerDatabase class.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

\root\Microsoft\Windows\DHCP

MOF

DhcpServerPsProvider.mof

DLL

DhcpServerPsProvider.dll

See also

PS_DhcpServerDatabase

 

 

Show:
© 2014 Microsoft