Exemple : Invoke-Command -Session $session_admin -ScriptBlock {Get-ChildItem "\\SERVEUR\PARTAGE"} Erreur avec Set-Location : Impossible de trouver le chemin d'accès « \\SERVEUR\PARTAGE », car il n'existe pas. + CategoryInfo : ObjectNotFound: (\\netapp01\users:String) [Set-Location], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand Erreur avec la méthode Framework : Exception lors de l'appel de « GetFiles » avec « 1 » argument(s) : « L'accès au chemin d'accès '\\SERVEUR\PARTAGE' est refusé. » + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : DotNetMethodException