Cmdlet: get‑ASCubePermission
Returns the CubePermissions for the specified Role.
#-------------- Get CubePermissions for a role --------------
$role = get-asrole -servername "localhost\sql08" -databasename "adventure works dw 2008" -RoleName Test
get-ascubepermission -RoleObject $role
Parameters
-RoleObject
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false