CmdID / PowerShell / Cmdlets / Grant
Grant-SmbClientAccessToServer
Allow access to a computer or set of computers for SMB over QUIC's client access control feature on an SMB Server. Windows Server PowerShell reference
From the Windows Server PowerShell reference 11 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-DescriptionUsed to provide a description of the rule being added to the server's firewall when you use the Grant-SmbClientAccessToServer cmdlet.-ForceForces the command to run without asking for user confirmation.-IdentifierSpecifies the identity of the client that is being granted access to the SMB server.-IdentifierTypeSpecifies the type of identifier that you're using to identify a client.-InputObjectSpecifies the input object that's used in a pipeline command.-NameSpecifies a fully-qualified DNS name or NetBIOS name that must match the certificate's subject name or an entry in the certificate's subject alternative names.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.