CmdID / PowerShell / Cmdlets / New
New-SmbGlobalMapping
Creates an SMB global mapping. Windows Server PowerShell reference
From the Windows Server PowerShell reference 21 parameters Its page in the reference
Parameters
Show its 21 parameters
-AsJobRuns the cmdlet as a background job.-BlockNTLMSpecifies whether to block NT LAN Manager (NTLM) authentication.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-CompressNetworkTrafficSpecifies whether to compress network traffic.-CredentialSpecifies a credential gathered with Get-Credential.-DenyAccessSpecifies which accounts are denied access to the SMB mapping.-FullAccessSpecifies which accounts are granted full permission to access the SMB mapping.-LocalPathSpecifies the local driver letter to which the remote path is mapped.-PersistentIndicates that this connection is recreated after reboot.-QuicPortSpecifies the port number to be used for QUIC protocol connections.-RdmaPortSpecifies the port number to be used for Remote Direct Memory Access (RDMA) protocol connections.-RemotePathSpecifies the remote path that's accessed from this computer.-RequireIntegrityIndicates that SMB signing is required for the mapped drive.-RequirePrivacyIndicates that SMB encryption is required for the mapped drive.-SkipCertificateCheckSpecifies whether to skip certificate validation when establishing a connection.-TcpPortSpecifies the port number to be used for Transmission Control Protocol (TCP) connections.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-TransportTypeSpecifies the transport protocol to be used for the connection.-UseWriteThroughIndicates that forced unit access (write through) is required and bypasses all OS caches, forcing IO to disk.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.