NAME
Move-SmbWitnessClient
SYNOPSIS
Requests an SMB client to move the associated SMB connection to a specified cluster node.SYNTAX
Move-SmbWitnessClient [-ClientName]
[-DestinationNode] [[-NetworkName] ] [-CimSession
] [-ThrottleLimit ] [-Confirm] [-WhatIf] [ ] 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 DistributedServer Name can be moved.
PARAMETERS
-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
Specifies the SMB client by name. Required? true Position? 1 Default value none Accept pipeline input? false Accept wildcard characters? false-DestinationNode
Specifies the destination cluster node by name. Required? true Position? 2 Default value none Accept pipeline input? false Accept wildcard characters? false-NetworkName [
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 [
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 PowerShellr 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 [
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 [
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] 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
NoneOUTPUTS
NoneExample 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 currentcluster 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