# enter valid values $url = "https://sharepoint.c2go.net/sites/test" $listName = "MyListName" $login = "MyLogin" $web = Get-SPWeb $url $userid = ($web.Allusers | where-object { $_.LoginName -eq $login }).ID $user = $web.AllUsers.GetByID($userid) $token = $user.UserToken; $impSite = New-Object Microsoft.SharePoint.SPSite ($web.Url, $token); $impWeb = $impSite.OpenWeb() $impList = $impWeb.Lists[$listName] $impList.Views