Como faço pra conectar remotamente num servidor e listar arquivos e pastas de um determinado diretório? Tentei os comandos abaixo mas não tive sucesso.
Function Get-SmbBandWidthLimit 2.0.0.0 SmbShare
Function Get-SmbClientConfiguration 2.0.0.0 SmbShare
Function Get-SmbClientNetworkInterface 2.0.0.0 SmbShare
Function Get-SmbConnection 2.0.0.0 SmbShare
Function Get-SmbDelegation 2.0.0.0 SmbShare
Function Get-SmbGlobalMapping 2.0.0.0 SmbShare
Function Get-SmbMapping 2.0.0.0 SmbShare
Function Get-SmbMultichannelConnection 2.0.0.0 SmbShare
Function Get-SmbMultichannelConstraint 2.0.0.0 SmbShare
Function Get-SmbOpenFile 2.0.0.0 SmbShare
Function Get-SmbServerConfiguration 2.0.0.0 SmbShare
Function Get-SmbServerNetworkInterface 2.0.0.0 SmbShare
Function Get-SmbSession 2.0.0.0 SmbShare
Function Get-SmbShare 2.0.0.0 SmbShare
Function Get-SmbShareAccess 2.0.0.0 SmbShare
Function Get-SmbWitnessClient 2.0.0.0 SmbWitness
Function Grant-SmbShareAccess 2.0.0.0 SmbShare