< Back

Move-SmbWitnessClient

Wed Jan 30, 2019 6:01 pm

NAME Move-SmbWitnessClient



SYNOPSIS

Requests an SMB client to move the associated SMB connection to a specified cluster node.





SYNTAX

Move-SmbWitnessClient [-ClientName] <String> [-DestinationNode] <String> [[-NetworkName] <String>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]

[-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Move-SmbWitnessClient cmdlet requests the specified Server Message Block (SMB) client to move the associated SMB connection from the current cluster

node to the specified cluster node. Only SMB connections to a Distributed Server Name can be moved.





PARAMETERS

-CimSession [<CimSession[]>]

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or

Get-CimSession cmdlet. The default is the current session on the local computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ClientName <String>

Specifies the SMB client by name.



Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-DestinationNode <String>

Specifies the destination cluster node by name.



Required? true

Position? 2

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-NetworkName [<String>]

Specifies the network name of the file server to which the client connects.



Required? false

Position? 3

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ThrottleLimit [<Int32>]

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is

entered, then Windows PowerShell???? calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the

computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value false

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value false

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None









OUTPUTS

None









Example 1: Move a client



PS C:\\>Move-SmbWitnessClient -ClientName "Server01" -DestinationNode "FileServer22" -NetworkName "NetName07"



This example requests that the SMB client named Server01 move the associated SMB connection from the current cluster node to the cluster node named

FileServer22. This cmdlet does not return any output. The Get-SmbOpenFile cmdlet can be used to validate the client that is moved. The specified SMB

client must have an active connection with the cluster for this cmdlet to be effective.







RELATED LINKS

Online Version:

Get-SmbWitnessClient